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

operator+/- is disabled for QFlags in qt6

parent ece361bd
Pipeline #43369 passed with stage
in 19 minutes and 33 seconds
......@@ -83,7 +83,7 @@ void KWatchGnuPGMainWindow::createActions()
action->setIcon(QIcon::fromTheme(QStringLiteral("edit-clear-history")));
action->setText(i18n("C&lear History"));
connect(action, &QAction::triggered, this, &KWatchGnuPGMainWindow::slotClear);
actionCollection()->setDefaultShortcut(action, QKeySequence(Qt::CTRL + Qt::Key_L));
actionCollection()->setDefaultShortcut(action, QKeySequence(Qt::CTRL | Qt::Key_L));
(void)KStandardAction::saveAs(this, SLOT(slotSaveAs()), actionCollection());
(void)KStandardAction::close(this, SLOT(close()), actionCollection());
(void)KStandardAction::quit(this, SLOT(slotQuit()), actionCollection());
......
......@@ -460,7 +460,7 @@ void MainWindow::Private::setupActions()
focusToClickSearchAction = new QAction(i18n("Set Focus to Quick Search"), q);
coll->addAction(QStringLiteral("focus_to_quickseach"), focusToClickSearchAction);
coll->setDefaultShortcut(focusToClickSearchAction, QKeySequence(Qt::ALT + Qt::Key_Q));
coll->setDefaultShortcut(focusToClickSearchAction, QKeySequence(Qt::ALT | Qt::Key_Q));
connect(focusToClickSearchAction, SIGNAL(triggered(bool)), q, SLOT(slotFocusQuickSearch()));
clipboadMenu = new ClipboardMenu(q);
clipboadMenu->setMainWindow(q);
......
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