mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 18:56:34 +01:00
[DataPaths] USE_LIBPATH is always defined on Unix
No need to add "/usr/lib/qupzilla" to the Plugins path if USE_LIBPATH is not set, as "/usr/lib/qupzilla" won't exist on non-Unix platform. [ci skip]
This commit is contained in:
parent
19800b174b
commit
5b25b4bda6
@ -155,9 +155,6 @@ void DataPaths::init()
|
|||||||
|
|
||||||
#ifdef USE_LIBPATH
|
#ifdef USE_LIBPATH
|
||||||
m_paths[Plugins].append(QLatin1String(USE_LIBPATH "/qupzilla"));
|
m_paths[Plugins].append(QLatin1String(USE_LIBPATH "/qupzilla"));
|
||||||
#else
|
|
||||||
// FIXME: This should use QUPZILLA_PREFIX
|
|
||||||
m_paths[Plugins].append(QLatin1String("/usr/lib/qupzilla"));
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user