Commit 79be946c authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Port to KXMLGUIFactory::showConfigureShortcutsDialog()

parent 46ca1f48
......@@ -6,7 +6,7 @@
// the Free Software Foundation, version 2 of the License
//
//**************************************************************************
#include <kxmlgui_version.h>
#include <MainWindow.hxx>
#include <Selector.hxx>
#include <Archiver.hxx>
......@@ -48,7 +48,12 @@ MainWindow::MainWindow()
new Archiver(this);
quitAction = KStandardAction::quit(this, SLOT(maybeQuit()), actionCollection());
#if KXMLGUI_VERSION >= QT_VERSION_CHECK(5, 84, 0)
KStandardAction::keyBindings(guiFactory(), &KXMLGUIFactory::showConfigureShortcutsDialog, actionCollection());
#else
KStandardAction::keyBindings(guiFactory(), SLOT(configureShortcuts()), actionCollection());
#endif
QAction *action;
......
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