Commit dec73264 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use new constructor

parent 4d9a34dd
Pipeline #70590 failed with stage
in 5 minutes and 34 seconds
......@@ -108,7 +108,11 @@ void MainWindow::configure()
void MainWindow::configureKeyBindings()
{
#if KXMLGUI_VERSION <= QT_VERSION_CHECK(5, 84, 0)
KShortcutsDialog *dlg = new KShortcutsDialog(KShortcutsEditor::AllActions, KShortcutsEditor::LetterShortcutsAllowed, this);
#else
KShortcutsDialog *dlg = new KShortcutsDialog(this);
#endif
dlg->setAttribute(Qt::WA_DeleteOnClose);
dlg->setModal(false);
dlg->addCollection(actionCollection());
......
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