Commit 09a5a770 authored by Volker Krause's avatar Volker Krause
Browse files

Combine flags with the | operator

The + one is deprecated in Qt6.
parent 0cb48a1e
Pipeline #180049 passed with stage
in 9 minutes and 42 seconds
......@@ -154,7 +154,7 @@ Klipper::Klipper(QObject *parent, const KSharedConfigPtr &config, KlipperMode mo
m_toggleURLGrabAction = new KToggleAction(this);
m_collection->addAction(QStringLiteral("clipboard_action"), m_toggleURLGrabAction);
m_toggleURLGrabAction->setText(i18nc("@action:inmenu Toggle automatic action", "Automatic Action Popup Menu"));
KGlobalAccel::setGlobalShortcut(m_toggleURLGrabAction, QKeySequence(Qt::ALT + Qt::CTRL + Qt::Key_X));
KGlobalAccel::setGlobalShortcut(m_toggleURLGrabAction, QKeySequence(Qt::ALT | Qt::CTRL | Qt::Key_X));
connect(m_toggleURLGrabAction, &QAction::toggled, this, &Klipper::setURLGrabberEnabled);
/*
......
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