From e1ad9a6192d1e2be6fcb17c8a1e961104d921752 Mon Sep 17 00:00:00 2001 From: Alex Merry Date: Mon, 24 Mar 2014 16:02:14 +0000 Subject: Use the full path for kconf_update when running it It is not on $PATH, so we cannot just expect QProcess to find it. REVIEW: 117023 --- src/core/kconfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/kconfig.cpp') diff --git a/src/core/kconfig.cpp b/src/core/kconfig.cpp index 5a4a083d..247a4c23 100644 --- a/src/core/kconfig.cpp +++ b/src/core/kconfig.cpp @@ -483,7 +483,7 @@ void KConfig::checkUpdate(const QString &id, const QString &updateFile) const QString cfg_id = updateFile + QLatin1Char(':') + id; const QStringList ids = cg.readEntry("update_info", QStringList()); if (!ids.contains(cfg_id)) { - QProcess::execute(QString::fromLatin1("kconf_update"), QStringList() << QString::fromLatin1("--check") << updateFile); + QProcess::execute(QStringLiteral(KCONF_UPDATE_INSTALL_LOCATION), QStringList() << QString::fromLatin1("--check") << updateFile); reparseConfiguration(); } } -- cgit v1.2.1