Commit ac49d1e8 authored by Nicolas Fella's avatar Nicolas Fella Committed by Kurt Hindenburg

Port away from KToolInvocation::kdeinitExec

See https://phabricator.kde.org/T12185
parent bff534c3
...@@ -43,7 +43,6 @@ ...@@ -43,7 +43,6 @@
#include <KMessageBox> #include <KMessageBox>
#include <KRun> #include <KRun>
#include <KShell> #include <KShell>
#include <KToolInvocation>
#include <KToggleAction> #include <KToggleAction>
#include <KSelectAction> #include <KSelectAction>
#include <KXmlGuiWindow> #include <KXmlGuiWindow>
...@@ -55,6 +54,7 @@ ...@@ -55,6 +54,7 @@
#include <KConfigGroup> #include <KConfigGroup>
#include <KCodecAction> #include <KCodecAction>
#include <KNotification> #include <KNotification>
#include <KIO/CommandLauncherJob>
// Konsole // Konsole
#include "CopyInputDialog.h" #include "CopyInputDialog.h"
...@@ -541,7 +541,8 @@ void SessionController::handleWebShortcutAction() ...@@ -541,7 +541,8 @@ void SessionController::handleWebShortcutAction()
void SessionController::configureWebShortcuts() void SessionController::configureWebShortcuts()
{ {
KToolInvocation::kdeinitExec(QStringLiteral("kcmshell5"), { QStringLiteral("webshortcuts") }); auto job = new KIO::CommandLauncherJob(QStringLiteral("kcmshell5"), { QStringLiteral("webshortcuts") });
job->start();
} }
void SessionController::sendSignal(QAction* action) void SessionController::sendSignal(QAction* action)
......
Markdown is supported
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