mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
Revert "Plugins: Only resolve relative plugin paths"
This reverts commit 3447e139b5
.
This commit is contained in:
parent
3447e139b5
commit
51130f4ed7
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user