Commit fc1e52c7 authored by Ahmad Samir's avatar Ahmad Samir
Browse files

Port to KXMLGUIFactory::showConfigureShortcutsDialog()

parent 5e122c92
...@@ -35,6 +35,8 @@ ...@@ -35,6 +35,8 @@
#include <stdlib.h> #include <stdlib.h>
#include "keditbookmarks_debug.h" #include "keditbookmarks_debug.h"
#include <kxmlgui_version.h>
#include <QApplication> #include <QApplication>
#include <QClipboard> #include <QClipboard>
#include <QFileDialog> #include <QFileDialog>
...@@ -72,7 +74,13 @@ void KEBApp::createActions() ...@@ -72,7 +74,13 @@ void KEBApp::createActions()
// save and quit should probably not be in the toplevel??? // save and quit should probably not be in the toplevel???
(void)KStandardAction::quit(this, SLOT(close()), actionCollection()); (void)KStandardAction::quit(this, SLOT(close()), actionCollection());
#if KXMLGUI_VERSION >= QT_VERSION_CHECK(5, 84, 0)
KStandardAction::keyBindings(guiFactory(), &KXMLGUIFactory::showConfigureShortcutsDialog, actionCollection());
#else
KStandardAction::keyBindings(guiFactory(), SLOT(configureShortcuts()), actionCollection()); KStandardAction::keyBindings(guiFactory(), SLOT(configureShortcuts()), actionCollection());
#endif
(void)KStandardAction::configureToolbars(this, SLOT(slotConfigureToolbars()), actionCollection()); (void)KStandardAction::configureToolbars(this, SLOT(slotConfigureToolbars()), actionCollection());
if (m_browser) { if (m_browser) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment