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.
This commit is contained in:
parent
cba3e4c7aa
commit
d278887d91
@ -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");
|
sycoca.asyncCall("recreate");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -932,7 +932,7 @@ bool PackagePrivate::uninstallPackage(const QString &packageName, const QString
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
QDBusInterface sycoca("org.kde.kded", "/kbuildsycoca");
|
QDBusInterface sycoca("org.kde.kded5", "/kbuildsycoca");
|
||||||
sycoca.asyncCall("recreate");
|
sycoca.asyncCall("recreate");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user