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
KAlarm
Commits
7c81eeb8
Verified
Commit
7c81eeb8
authored
Jun 20, 2021
by
Luca Beltrame
Browse files
Fixup previous commit and make it backwards-compatible
parent
04134d98
Pipeline
#66713
canceled with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/mainwindow.cpp
View file @
7c81eeb8
...
...
@@ -54,6 +54,7 @@ using namespace KCalUtils;
#include <KToggleAction>
#include <KNotifyConfigWidget>
#include <KToolBarPopupAction>
#include <kxmlgui_version.h>
#include <QAction>
#include <QSplitter>
...
...
@@ -1107,7 +1108,11 @@ void MainWindow::slotShowMenubar()
*/
void
MainWindow
::
slotConfigureKeys
()
{
#if KXMLGUI_VERSION < QT_VERSION_CHECK(5,83,0)
KShortcutsDialog
::
configure
(
actionCollection
(),
KShortcutsEditor
::
LetterShortcutsAllowed
,
this
);
#else
KShortcutsDialog
::
showDialog
(
actionCollection
(),
KShortcutsEditor
::
LetterShortcutsAllowed
,
true
/*isModal*/
,
this
);
#endif
}
/******************************************************************************
...
...
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