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

We depends against kf5.77

parent 6c72e583
Pipeline #45362 passed with stage
in 19 minutes and 15 seconds
......@@ -8,7 +8,6 @@
*/
#include <config-kleopatra.h>
#include <kwidgetsaddons_version.h>
#include "mainwindow.h"
#include "aboutdata.h"
......@@ -465,11 +464,7 @@ void MainWindow::Private::setupActions()
clipboadMenu = new ClipboardMenu(q);
clipboadMenu->setMainWindow(q);
clipboadMenu->clipboardMenu()->setIcon(QIcon::fromTheme(QStringLiteral("edit-paste")));
#if KWIDGETSADDONS_VERSION >= QT_VERSION_CHECK(5, 77, 0)
clipboadMenu->clipboardMenu()->setPopupMode(QToolButton::InstantPopup);
#else
clipboadMenu->clipboardMenu()->setDelayed(false);
#endif
coll->addAction(QStringLiteral("clipboard_menu"), clipboadMenu->clipboardMenu());
q->setStandardToolBarMenuEnabled(true);
......
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