Commit e85e6380 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

Fix crash when re-loading the file manager plugin

It was requesting the KPluginInfo before having it added to the
plugin controller and it was crashing. This patch delays the UI
registering. We're not in a hurry to do that anyway.

BUG: 320688
parent fbed9bc2
......@@ -78,7 +78,7 @@ KDevFileManagerPlugin::KDevFileManagerPlugin(QObject *parent, const QVariantList
{
setXMLFile("kdevfilemanager.rc");
init();
QMetaObject::invokeMethod(this, "init", Qt::QueuedConnection);
}
void KDevFileManagerPlugin::init()
......
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