1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 18:56:34 +01:00

Revert "Plugins: Only resolve relative plugin paths"

This reverts commit 3447e139b5.
This commit is contained in:
David Rosca 2016-12-23 15:11:56 +01:00
parent 3447e139b5
commit 51130f4ed7

View File

@ -94,11 +94,8 @@ void Plugins::loadSettings()
if (mApp->isPortable()) { if (mApp->isPortable()) {
#endif #endif
QDir dir(DataPaths::path(DataPaths::Plugins)); QDir dir(DataPaths::path(DataPaths::Plugins));
for (int i = 0; i < m_allowedPlugins.count(); ++i) { for (int i = 0; i < m_allowedPlugins.count(); ++i)
if (QFileInfo(m_allowedPlugins[i]).isRelative()) { m_allowedPlugins[i] = dir.absoluteFilePath(m_allowedPlugins[i]);
m_allowedPlugins[i] = dir.absoluteFilePath(m_allowedPlugins[i]);
}
}
} }
c2f_loadSettings(); c2f_loadSettings();