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
Games
KShisen
Commits
aaf1e14c
Commit
aaf1e14c
authored
Jun 27, 2021
by
Ahmad Samir
Browse files
Port to KShortcutsDialog::showDialog()
parent
a835d04f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/app.cpp
View file @
aaf1e14c
...
...
@@ -22,6 +22,7 @@
#include <QTimer>
// KF
#include <kxmlgui_version.h>
#include <KActionCollection>
#include <KConfig>
#include <KConfigDialog>
...
...
@@ -361,7 +362,11 @@ void App::showHighscores()
void
App
::
keyBindings
()
{
#if KXMLGUI_VERSION >= QT_VERSION_CHECK(5,84,0)
KShortcutsDialog
::
showDialog
(
actionCollection
(),
KShortcutsEditor
::
LetterShortcutsAllowed
,
this
);
#else
KShortcutsDialog
::
configure
(
actionCollection
(),
KShortcutsEditor
::
LetterShortcutsAllowed
,
this
);
#endif
}
void
App
::
showSettingsDialog
()
...
...
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