Commit ac8799ba authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Port away from KToolInvocation::kdeinitExec

See https://phabricator.kde.org/T12185
parent 40fd8e2a
......@@ -11,8 +11,7 @@ cmake_minimum_required (VERSION 3.0 FATAL_ERROR)
# Qt 5.12 LTS EOL May 2021
set (QT_MIN_VERSION "5.12.0")
# The exact version required is not known ATM
set (KF5_MIN_VERSION "5.6.0")
set (KF5_MIN_VERSION "5.69.0")
# Release script will create bugzilla versions
project(konsole VERSION ${RELEASE_SERVICE_VERSION})
......
......@@ -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