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

Port away from KToolInvocation::kdeinitExec

See https://phabricator.kde.org/T12185
parent bff534c3
......@@ -43,7 +43,6 @@
#include <KMessageBox>
#include <KRun>
#include <KShell>
#include <KToolInvocation>
#include <KToggleAction>
#include <KSelectAction>
#include <KXmlGuiWindow>
......@@ -55,6 +54,7 @@
#include <KConfigGroup>
#include <KCodecAction>
#include <KNotification>
#include <KIO/CommandLauncherJob>
// Konsole
#include "CopyInputDialog.h"
......@@ -541,7 +541,8 @@ void SessionController::handleWebShortcutAction()
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)
......
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