From 5848bb5609c7d068911e8bd8d1cba7f8afc4b7c4 Mon Sep 17 00:00:00 2001 From: Zdenek Jonak Date: Thu, 8 Jun 2017 22:14:19 +0200 Subject: [PATCH] fixed application crash when loading plugin --- core/context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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