fixed application crash when loading plugin

master
Zdenek Jonak 8 years ago
parent 8406dc584f
commit 5848bb5609

@ -61,8 +61,8 @@ void Context::loadPlugins()
if (p != NULL) {
IPlugin *plugin = qobject_cast<IPlugin*>(p);
if (plugin != NULL) {
plugin->init(pluginLoader.metaData());
m_plugins.append(plugin);
plugin->init(pluginLoader.metaData());
}
}
else

Loading…
Cancel
Save