diff --git a/core/context.cpp b/core/context.cpp index bc72107..80d15be 100644 --- a/core/context.cpp +++ b/core/context.cpp @@ -61,8 +61,8 @@ void Context::loadPlugins() if (p != NULL) { IPlugin *plugin = qobject_cast(p); if (plugin != NULL) { - plugin->init(pluginLoader.metaData()); m_plugins.append(plugin); + plugin->init(pluginLoader.metaData()); } } else