Commit 0c3cb3d1 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Port away from KToolInvocation::kdeinitExecWait

It's about to be deprecated. Instead of launching kget via kdeinitExecWait we can jsut rely on DBus activation
parent 075fac9c
......@@ -178,14 +178,6 @@ void KGetPlugin::slotImportLinks()
// Remove any duplicates links from the list...
if (!QDBusConnection::sessionBus().interface()->isServiceRegistered("org.kde.kget") &&
KToolInvocation::kdeinitExecWait("kget") != 0) {
i18n("Unable to communicate with the KGet download manager."),
i18n("Communication Error"));
OrgKdeKgetMainInterface kgetInterface("org.kde.kget", "/KGet", QDBusConnection::sessionBus());
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment