Commit 1498f3ba authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use "coll" variable directly

parent 1a78b37d
Pipeline #158841 passed with stage
in 2 minutes and 6 seconds
......@@ -431,8 +431,8 @@ void ActionManagerImpl::initMainWidget(MainWidget *mainWidget)
d->mQuickSearchAction = new QAction(i18n("Set Focus to Quick Search"), this);
// If change shortcut change Panel::setQuickSearchClickMessage(...) message
actionCollection()->setDefaultShortcut(d->mQuickSearchAction, QKeySequence(Qt::ALT | Qt::Key_Q));
actionCollection()->addAction(QStringLiteral("focus_to_quickseach"), d->mQuickSearchAction);
coll->setDefaultShortcut(d->mQuickSearchAction, QKeySequence(Qt::ALT | Qt::Key_Q));
coll->addAction(QStringLiteral("focus_to_quickseach"), d->mQuickSearchAction);
connect(d->mQuickSearchAction, &QAction::triggered, mainWidget, &MainWidget::slotFocusQuickSearch);
auto manager = new KColorSchemeManager(this);
......
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