1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 10:46:35 +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:
David Rosca 2014-04-24 12:03:18 +02:00
parent 19800b174b
commit 5b25b4bda6

View File

@ -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
} }