Commit b4e387bf authored by Christoph Cullmann's avatar Christoph Cullmann 🐮
Browse files

fix initialization order

parent c4b20b89
......@@ -1943,11 +1943,13 @@ public:
: QObject(mainWin)
, m_mainWindow(mainWin)
, m_serverManager(LSPClientServerManager::new_(plugin, mainWin))
, m_actionView(new LSPClientActionView(plugin, mainWin, this, m_serverManager))
{
KXMLGUIClient::setComponentName(QStringLiteral("lspclient"), i18n("LSP Client"));
setXMLFile(QStringLiteral("ui.rc"));
// we need to do this AFTER the setComponentName above
m_actionView.reset(new LSPClientActionView(plugin, mainWin, this, m_serverManager));
m_mainWindow->guiFactory()->addClient(this);
}
......
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