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) ...@@ -11,7 +11,8 @@ cmake_minimum_required (VERSION 3.0 FATAL_ERROR)
# Qt 5.12 LTS EOL May 2021 # Qt 5.12 LTS EOL May 2021
set (QT_MIN_VERSION "5.12.0") 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 # Release script will create bugzilla versions
project(konsole VERSION ${RELEASE_SERVICE_VERSION}) project(konsole VERSION ${RELEASE_SERVICE_VERSION})
......
...@@ -43,6 +43,7 @@ ...@@ -43,6 +43,7 @@
#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>
...@@ -54,7 +55,6 @@ ...@@ -54,7 +55,6 @@
#include <KConfigGroup> #include <KConfigGroup>
#include <KCodecAction> #include <KCodecAction>
#include <KNotification> #include <KNotification>
#include <KIO/CommandLauncherJob>
// Konsole // Konsole
#include "CopyInputDialog.h" #include "CopyInputDialog.h"
...@@ -541,8 +541,7 @@ void SessionController::handleWebShortcutAction() ...@@ -541,8 +541,7 @@ void SessionController::handleWebShortcutAction()
void SessionController::configureWebShortcuts() void SessionController::configureWebShortcuts()
{ {
auto job = new KIO::CommandLauncherJob(QStringLiteral("kcmshell5"), { QStringLiteral("webshortcuts") }); KToolInvocation::kdeinitExec(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