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
Graphics
KRuler
Commits
5d12ffa4
Commit
5d12ffa4
authored
Jun 27, 2021
by
Ahmad Samir
Browse files
Port to KShortcutsDialog::showDialog()
parent
fe6e2fe5
Changes
1
Hide whitespace changes
Inline
Side-by-side
klineal.cpp
View file @
5d12ffa4
...
...
@@ -29,6 +29,7 @@
#include <QSlider>
#include <QWidgetAction>
#include <kxmlgui_version.h>
#include <KAboutData>
#include <KActionCollection>
#include <KConfig>
...
...
@@ -410,7 +411,11 @@ void KLineal::slotOpacity( int value )
void
KLineal
::
slotKeyBindings
()
{
#if KXMLGUI_VERSION >= QT_VERSION_CHECK(5,84,0)
KShortcutsDialog
::
showDialog
(
mActionCollection
,
KShortcutsEditor
::
LetterShortcutsAllowed
,
this
);
#else
KShortcutsDialog
::
configure
(
mActionCollection
);
#endif
}
void
KLineal
::
slotPreferences
()
...
...
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