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
Education
Kig
Commits
532f432d
Commit
532f432d
authored
Jun 24, 2021
by
Ahmad Samir
Browse files
Port to KXMLGUIFactory::showConfigureShortcutsDialog()
parent
636c3557
Changes
1
Hide whitespace changes
Inline
Side-by-side
kig/kig.cpp
View file @
532f432d
...
...
@@ -18,6 +18,7 @@
#include <QTimer>
#include <QUrl>
#include <kxmlgui_version.h>
#include <KActionCollection>
#include <KConfigGroup>
#include <KEditToolBar>
...
...
@@ -94,7 +95,12 @@ void Kig::setupActions()
m_recentFilesAction
=
KStandardAction
::
openRecent
(
this
,
SLOT
(
openUrl
(
QUrl
)),
actionCollection
()
);
m_recentFilesAction
->
loadEntries
(
config
->
group
(
QString
()
)
);
#if KXMLGUI_VERSION >= QT_VERSION_CHECK(5, 84, 0)
KStandardAction
::
keyBindings
(
guiFactory
(),
&
KXMLGUIFactory
::
showConfigureShortcutsDialog
,
actionCollection
());
#else
KStandardAction
::
keyBindings
(
guiFactory
(),
SLOT
(
configureShortcuts
()),
actionCollection
()
);
#endif
KStandardAction
::
configureToolbars
(
this
,
SLOT
(
optionsConfigureToolbars
()),
actionCollection
());
KStandardAction
::
tipOfDay
(
this
,
SLOT
(
tipOfDay
()),
actionCollection
()
);
...
...
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