Commit 6ca7d17d authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

We depend against 5.84

parent 0491d470
Pipeline #73771 failed with stage
in 2 minutes and 38 seconds
...@@ -100,11 +100,7 @@ void KWatchGnuPGMainWindow::createActions() ...@@ -100,11 +100,7 @@ void KWatchGnuPGMainWindow::createActions()
void KWatchGnuPGMainWindow::configureShortcuts() void KWatchGnuPGMainWindow::configureShortcuts()
{ {
#if KXMLGUI_VERSION < QT_VERSION_CHECK(5,84,0)
KShortcutsDialog::configure(actionCollection(), KShortcutsEditor::LetterShortcutsAllowed, this);
#else
KShortcutsDialog::showDialog(actionCollection(), KShortcutsEditor::LetterShortcutsAllowed, this); KShortcutsDialog::showDialog(actionCollection(), KShortcutsEditor::LetterShortcutsAllowed, this);
#endif
} }
void KWatchGnuPGMainWindow::slotConfigureToolbars() void KWatchGnuPGMainWindow::slotConfigureToolbars()
......
...@@ -165,11 +165,7 @@ public: ...@@ -165,11 +165,7 @@ public:
} }
void editKeybindings() void editKeybindings()
{ {
#if KXMLGUI_VERSION < QT_VERSION_CHECK(5,84,0)
KShortcutsDialog::configure(q->actionCollection(), KShortcutsEditor::LetterShortcutsAllowed);
#else
KShortcutsDialog::showDialog(q->actionCollection(), KShortcutsEditor::LetterShortcutsAllowed, q); KShortcutsDialog::showDialog(q->actionCollection(), KShortcutsEditor::LetterShortcutsAllowed, q);
#endif
updateSearchBarClickMessage(); updateSearchBarClickMessage();
} }
......
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