Verified Commit 284a7c39 authored by Luca Beltrame's avatar Luca Beltrame
Browse files

Fixup previous commit and make it backwards-compatible

parent 6f437771
Pipeline #66714 failed with stage
in 7 minutes and 2 seconds
......@@ -31,6 +31,7 @@
#include <KToolBar>
#include <QLabel>
#include <QStatusBar>
#include <kxmlgui_version.h>
#ifdef WITH_KUSERFEEDBACK
#include "userfeedback/userfeedbackmanager.h"
#include <KUserFeedback/NotificationPopup>
......@@ -174,7 +175,11 @@ void KOrganizer::initActions()
void KOrganizer::slotEditKeys()
{
#if KXMLGUI_VERSION < QT_VERSION_CHECK(5,84,0)
KShortcutsDialog::configure(actionCollection(), KShortcutsEditor::LetterShortcutsAllowed);
#else
KShortcutsDialog::showDialog(actionCollection(), KShortcutsEditor::LetterShortcutsAllowed, true /*isModal*/);
#endif
}
bool KOrganizer::queryClose()
......
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