Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Utilities
Konsole
Commits
ac8799ba
Commit
ac8799ba
authored
Aug 12, 2020
by
Nicolas Fella
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Port away from KToolInvocation::kdeinitExec
See
https://phabricator.kde.org/T12185
parent
40fd8e2a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
CMakeLists.txt
CMakeLists.txt
+1
-2
src/session/SessionController.cpp
src/session/SessionController.cpp
+3
-2
No files found.
CMakeLists.txt
View file @
ac8799ba
...
...
@@ -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
}
)
...
...
src/session/SessionController.cpp
View file @
ac8799ba
...
...
@@ -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
)
...
...
Kurt Hindenburg
@hindenburg
mentioned in commit
140ec1d7
·
Sep 02, 2020
mentioned in commit
140ec1d7
mentioned in commit 140ec1d7db14359a79c09065d171f957801c9964
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment