Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Utilities
Konsole
Commits
ac49d1e8
Commit
ac49d1e8
authored
Sep 04, 2020
by
Nicolas Fella
Committed by
Kurt Hindenburg
Sep 04, 2020
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Port away from KToolInvocation::kdeinitExec
See
https://phabricator.kde.org/T12185
parent
bff534c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/session/SessionController.cpp
src/session/SessionController.cpp
+3
-2
No files found.
src/session/SessionController.cpp
View file @
ac49d1e8
...
@@ -43,7 +43,6 @@
...
@@ -43,7 +43,6 @@
#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>
...
@@ -55,6 +54,7 @@
...
@@ -55,6 +54,7 @@
#include <KConfigGroup>
#include <KConfigGroup>
#include <KCodecAction>
#include <KCodecAction>
#include <KNotification>
#include <KNotification>
#include <KIO/CommandLauncherJob>
// Konsole
// Konsole
#include "CopyInputDialog.h"
#include "CopyInputDialog.h"
...
@@ -541,7 +541,8 @@ void SessionController::handleWebShortcutAction()
...
@@ -541,7 +541,8 @@ void SessionController::handleWebShortcutAction()
void
SessionController
::
configureWebShortcuts
()
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
)
void
SessionController
::
sendSignal
(
QAction
*
action
)
...
...
Kurt Hindenburg
@hindenburg
mentioned in merge request
!194 (merged)
·
Sep 05, 2020
mentioned in merge request
!194 (merged)
mentioned in merge request !194
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