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

Use new constructor

parent 5021ae77
Pipeline #70592 failed with stage
in 6 minutes and 17 seconds
......@@ -10,6 +10,7 @@
#include "akregator_part.h"
#include "akregatorconfig.h"
#include "trayicon.h"
#include <kxmlgui_version.h>
#include <Libkdepim/ProgressStatusBarWidget>
#include <Libkdepim/StatusbarProgressWidget>
......@@ -155,7 +156,11 @@ void MainWindow::readProperties(const KConfigGroup &config)
// TODO: move to part?
void MainWindow::optionsConfigureKeys()
{
#if KXMLGUI_VERSION <= QT_VERSION_CHECK(5, 84, 0)
KShortcutsDialog dlg(KShortcutsEditor::AllActions, KShortcutsEditor::LetterShortcutsAllowed, this);
#else
KShortcutsDialog dlg(this);
#endif
dlg.addCollection(actionCollection());
if (m_part) {
......
Supports Markdown
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