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
Network
Konqueror
Commits
2e8d30e3
Commit
2e8d30e3
authored
Jun 24, 2021
by
Ahmad Samir
Browse files
Port to KXMLGUIFactory::showConfigureShortcutsDialog()
parent
ff02a25e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/konqmainwindow.cpp
View file @
2e8d30e3
...
...
@@ -59,6 +59,7 @@
#include <konq_spellcheckingconfigurationdispatcher.h>
#include <kwidgetsaddons_version.h>
#include <kxmlgui_version.h>
#include <kparts_version.h>
#include <kbookmarkmanager.h>
#include <klineedit.h>
...
...
@@ -3604,7 +3605,13 @@ void KonqMainWindow::initActions()
actionCollection
()
->
addAction
(
KStandardAction
::
Preferences
,
this
,
SLOT
(
slotConfigure
()));
}
#if KXMLGUI_VERSION >= QT_VERSION_CHECK(5, 84, 0)
KStandardAction
::
keyBindings
(
guiFactory
(),
&
KXMLGUIFactory
::
showConfigureShortcutsDialog
,
actionCollection
());
#else
actionCollection
()
->
addAction
(
KStandardAction
::
KeyBindings
,
guiFactory
(),
SLOT
(
configureShortcuts
()));
#endif
actionCollection
()
->
addAction
(
KStandardAction
::
ConfigureToolbars
,
this
,
SLOT
(
slotConfigureToolbars
()));
m_paConfigureExtensions
=
actionCollection
()
->
addAction
(
QStringLiteral
(
"options_configure_extensions"
));
...
...
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