From 3962c63927f5146ccbbf0d0a303f4690841680b9 Mon Sep 17 00:00:00 2001 From: David Rosca Date: Sun, 26 Oct 2014 17:10:24 +0100 Subject: [PATCH] Plugins: Don't exclude allowed plugins from available plugins list This fixes issue that the allowed plugin (enabled by user) would disappear from the all plugins list (in preferences) after failing to load on startup. --- src/lib/plugins/plugins.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/lib/plugins/plugins.cpp b/src/lib/plugins/plugins.cpp index f9100a102..7aaaa6345 100644 --- a/src/lib/plugins/plugins.cpp +++ b/src/lib/plugins/plugins.cpp @@ -180,9 +180,6 @@ void Plugins::loadAvailablePlugins() QDir pluginsDir = QDir(dir); foreach (const QString &fileName, pluginsDir.entryList(QDir::Files)) { const QString absolutePath = pluginsDir.absoluteFilePath(fileName); - if (m_allowedPlugins.contains(absolutePath)) { - continue; - } QPluginLoader* loader = new QPluginLoader(absolutePath); PluginInterface* iPlugin = qobject_cast(loader->instance());