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,12 +94,9 @@ 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()) {
for (int i = 0; i < m_allowedPlugins.count(); ++i)
m_allowedPlugins[i] = dir.absoluteFilePath(m_allowedPlugins[i]);
}
}
}
c2f_loadSettings();
}