From ac49d1e8da411364d7f5a1dd94d3b8856907ae84 Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Fri, 4 Sep 2020 22:28:05 -0400 Subject: [PATCH] Port away from KToolInvocation::kdeinitExec See https://phabricator.kde.org/T12185 --- src/session/SessionController.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/session/SessionController.cpp b/src/session/SessionController.cpp index ee63eaaa..a15dd032 100644 --- a/src/session/SessionController.cpp +++ b/src/session/SessionController.cpp @@ -43,7 +43,6 @@ #include #include #include -#include #include #include #include @@ -55,6 +54,7 @@ #include #include #include +#include // 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) -- GitLab