Commit 86abf8db authored by Volker Krause's avatar Volker Krause
Browse files

Use a non-deprecated enum value for "no key"

parent 9a34ebbf
Pipeline #213781 failed with stage
in 26 minutes and 51 seconds
......@@ -283,8 +283,8 @@ void GlobalShortcutsTest::testComponseKey()
QSignalSpy triggeredSpy(action.get(), &QAction::triggered);
KGlobalAccel::self()->setShortcut(action.get(), QList<QKeySequence>{Qt::UNICODE_ACCEL}, KGlobalAccel::NoAutoloading);
input()->registerShortcut(Qt::UNICODE_ACCEL, action.get());
KGlobalAccel::self()->setShortcut(action.get(), QList<QKeySequence>{Qt::NoModifier}, KGlobalAccel::NoAutoloading);
input()->registerShortcut(Qt::NoModifier, action.get());
// press & release `
quint32 timestamp = 0;
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