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

Adjust KShortcutsDialog::showDialog() usage due to API changes

GIT_SILENT
parent 627a5e0b
Pipeline #67579 passed with stage
in 22 minutes and 27 seconds
......@@ -166,7 +166,7 @@ void KTNEFMain::slotConfigureKeys()
#if KXMLGUI_VERSION < QT_VERSION_CHECK(5, 84, 0)
KShortcutsDialog::configure(actionCollection(), KShortcutsEditor::LetterShortcutsAllowed, this);
#else
KShortcutsDialog::showDialog(actionCollection(), KShortcutsEditor::LetterShortcutsAllowed, /*isModal*/ true, this);
KShortcutsDialog::showDialog(actionCollection(), KShortcutsEditor::LetterShortcutsAllowed, this);
#endif
}
......
......@@ -3403,7 +3403,7 @@ void KMComposerWin::slotEditKeys()
#if KXMLGUI_VERSION < QT_VERSION_CHECK(5, 84, 0)
KShortcutsDialog::configure(actionCollection(), KShortcutsEditor::LetterShortcutsDisallowed);
#else
KShortcutsDialog::showDialog(actionCollection(), KShortcutsEditor::LetterShortcutsAllowed, /*isModal*/ true, this);
KShortcutsDialog::showDialog(actionCollection(), KShortcutsEditor::LetterShortcutsAllowed, this);
#endif
}
......
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