From 51130f4ed7113016daa6f0221994de11adb43a9f Mon Sep 17 00:00:00 2001 From: David Rosca Date: Fri, 23 Dec 2016 15:11:56 +0100 Subject: [PATCH] Revert "Plugins: Only resolve relative plugin paths" This reverts commit 3447e139b5845d3f9bb74d98e2a2ae1ab34992fd. --- src/lib/plugins/plugins.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/lib/plugins/plugins.cpp b/src/lib/plugins/plugins.cpp index 7958379df..5a1403c3f 100644 --- a/src/lib/plugins/plugins.cpp +++ b/src/lib/plugins/plugins.cpp @@ -94,11 +94,8 @@ void Plugins::loadSettings() if (mApp->isPortable()) { #endif QDir dir(DataPaths::path(DataPaths::Plugins)); - for (int i = 0; i < m_allowedPlugins.count(); ++i) { - if (QFileInfo(m_allowedPlugins[i]).isRelative()) { - m_allowedPlugins[i] = dir.absoluteFilePath(m_allowedPlugins[i]); - } - } + for (int i = 0; i < m_allowedPlugins.count(); ++i) + m_allowedPlugins[i] = dir.absoluteFilePath(m_allowedPlugins[i]); } c2f_loadSettings();