Commit 53b91632 authored by Christoph Cullmann's avatar Christoph Cullmann 🐮
Browse files

fix LSP plugin narrowing issue during Qt6 compile

parent 56dc5d10
Pipeline #154573 passed with stage
in 2 minutes and 49 seconds
......@@ -616,7 +616,9 @@ public:
m_triggerGotoSymbol = actionCollection()->addAction(QStringLiteral("lspclient_goto_workspace_symbol"), this, &self_type::gotoWorkSpaceSymbol);
m_triggerGotoSymbol->setText(i18n("Search and Go to Symbol"));
actionCollection()->setDefaultShortcut(m_triggerGotoSymbol, Qt::ALT | Qt::CTRL | Qt::Key_P);
m_triggerFormat = actionCollection()->addAction(QStringLiteral("lspclient_format"), this, &self_type::format);
m_triggerFormat = actionCollection()->addAction(QStringLiteral("lspclient_format"), this, [this]() {
format();
});
m_triggerFormat->setText(i18n("Format"));
m_triggerRename = actionCollection()->addAction(QStringLiteral("lspclient_rename"), this, &self_type::rename);
m_triggerRename->setText(i18n("Rename"));
......
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