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
Kubrick
Commits
6b31f810
Commit
6b31f810
authored
Jun 26, 2021
by
Ahmad Samir
Browse files
Port to KShortcutsDialog::showDialog()
parent
cd11cfe1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/kubrick.cpp
View file @
6b31f810
...
...
@@ -28,6 +28,7 @@
#include <QString>
// KDE includes.
#include <kxmlgui_version.h>
#include <KActionCollection>
#include <KLocalizedString>
#include <KMessageBox>
...
...
@@ -687,7 +688,11 @@ void Kubrick::describePuzzle (int xDim, int yDim, int zDim, int shMoves)
void
Kubrick
::
optionsConfigureKeys
()
{
#if KXMLGUI_VERSION >= QT_VERSION_CHECK(5,84,0)
KShortcutsDialog
::
showDialog
(
actionCollection
(),
KShortcutsEditor
::
LetterShortcutsAllowed
,
this
);
#else
KShortcutsDialog
::
configure
(
actionCollection
());
#endif
}
...
...
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