Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Kontact
Commits
6b44e66f
Commit
6b44e66f
authored
Jul 16, 2021
by
Laurent Montel
😁
Browse files
Use the new KShortCutsDialog constructor
parent
caad7680
Pipeline
#70589
canceled with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/mainwindow.cpp
View file @
6b44e66f
...
...
@@ -13,6 +13,7 @@
#include
"aboutdialog.h"
#include
"iconsidepane.h"
#include
"prefs.h"
#include
<kxmlgui_version.h>
#include
"webengine/introductionwebenginepage.h"
#include
"webengine/introductionwebengineview.h"
...
...
@@ -768,7 +769,11 @@ void MainWindow::showAboutDialog()
void
MainWindow
::
configureShortcuts
()
{
#if KXMLGUI_VERSION < QT_VERSION_CHECK(5, 84, 0)
KShortcutsDialog
dialog
(
KShortcutsEditor
::
AllActions
,
KShortcutsEditor
::
LetterShortcutsAllowed
,
this
);
#else
KShortcutsDialog
dialog
(
this
);
#endif
dialog
.
addCollection
(
actionCollection
());
if
(
mCurrentPlugin
&&
mCurrentPlugin
->
part
())
{
...
...
Write
Preview
Supports
Markdown
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