Commit 8a3d886c authored by Ahmad Samir's avatar Ahmad Samir
Browse files

Port to KShortcutsDialog::showDialog()

parent 745e2fb7
......@@ -36,6 +36,7 @@
#include <QTemporaryFile>
// include files for KF5
#include <kxmlgui_version.h>
#include <kwidgetsaddons_version.h>
#include <KActionCollection>
#include <KConfigGroup>
......@@ -823,7 +824,11 @@ void KmagApp::slotShowMenu()
void KmagApp::slotConfKeys()
{
#if KXMLGUI_VERSION >= QT_VERSION_CHECK(5,84,0)
KShortcutsDialog::showDialog(actionCollection(), KShortcutsEditor::LetterShortcutsAllowed, this);
#else
KShortcutsDialog::configure( actionCollection() );
#endif
}
void KmagApp::slotEditToolbars()
......
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