Commit 140ec1d7 authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

Revert "Port away from KToolInvocation::kdeinitExec"

This broke all the tests

This reverts commit ac8799ba.
parent 212f4e15
......@@ -11,7 +11,8 @@ cmake_minimum_required (VERSION 3.0 FATAL_ERROR)
# Qt 5.12 LTS EOL May 2021
set (QT_MIN_VERSION "5.12.0")
set (KF5_MIN_VERSION "5.69.0")
# The exact version required is not known ATM
set (KF5_MIN_VERSION "5.6.0")
# Release script will create bugzilla versions
project(konsole VERSION ${RELEASE_SERVICE_VERSION})
......
......@@ -43,6 +43,7 @@
#include <KMessageBox>
#include <KRun>
#include <KShell>
#include <KToolInvocation>
#include <KToggleAction>
#include <KSelectAction>
#include <KXmlGuiWindow>
......@@ -54,7 +55,6 @@
#include <KConfigGroup>
#include <KCodecAction>
#include <KNotification>
#include <KIO/CommandLauncherJob>
// Konsole
#include "CopyInputDialog.h"
......@@ -541,8 +541,7 @@ void SessionController::handleWebShortcutAction()
void SessionController::configureWebShortcuts()
{
auto job = new KIO::CommandLauncherJob(QStringLiteral("kcmshell5"), { QStringLiteral("webshortcuts") });
job->start();
KToolInvocation::kdeinitExec(QStringLiteral("kcmshell5"), { QStringLiteral("webshortcuts") });
}
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