Commit 4240078e authored by Ahmad Samir's avatar Ahmad Samir
Browse files

Port to KXMLGUIFactory::showDialog()

parent 2c074eb7
...@@ -288,7 +288,11 @@ void KTron::closeEvent(QCloseEvent *event) ...@@ -288,7 +288,11 @@ void KTron::closeEvent(QCloseEvent *event)
void KTron::optionsConfigureKeys() void KTron::optionsConfigureKeys()
{ {
#if KXMLGUI_VERSION >= QT_VERSION_CHECK(5,84,0)
KShortcutsDialog::showDialog(actionCollection(), KShortcutsEditor::LetterShortcutsAllowed, this);
#else
KShortcutsDialog::configure(actionCollection()); KShortcutsDialog::configure(actionCollection());
#endif
} }
// Key events // Key events
......
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