From d278887d9100e7e236985139cdbd427ea8bcccd1 Mon Sep 17 00:00:00 2001 From: David Faure Date: Mon, 14 May 2012 01:02:07 +0200 Subject: [PATCH] Increase version number in runtime services, to avoid mixups. Executable names: kdeinit4 -> kdeinit5 kded4 -> kded DBus service names: org.kde.kded -> org.kde.kded5 org.kde.klauncher -> org.kde.klauncher5 This fixes jobtest with Qt5 (difference in QDateTime serialization), but more generally it will allow BIC changes in SlaveBase, as well as not crashing due to kdeinit4 or kded4 loading KF5/Qt5 modules, etc. --- package.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.cpp b/package.cpp index ce4249688..3e3fd6e9e 100644 --- a/package.cpp +++ b/package.cpp @@ -883,7 +883,7 @@ bool PackagePrivate::installPackage(const QString &package, const QString &packa } } - QDBusInterface sycoca("org.kde.kded", "/kbuildsycoca"); + QDBusInterface sycoca("org.kde.kded5", "/kbuildsycoca"); sycoca.asyncCall("recreate"); return true; } @@ -932,7 +932,7 @@ bool PackagePrivate::uninstallPackage(const QString &packageName, const QString return false; } - QDBusInterface sycoca("org.kde.kded", "/kbuildsycoca"); + QDBusInterface sycoca("org.kde.kded5", "/kbuildsycoca"); sycoca.asyncCall("recreate"); return true; }