prefer bundled plugins

This commit is contained in:
Hannah von Reth 2015-12-10 22:28:58 +01:00
parent 73396fb82f
commit c274f3b202

View File

@ -149,10 +149,10 @@ const QDir &PluginContainer::pluginDir()
#endif
QString suffix = QLatin1String("/libsnore") + QLatin1String(SNORE_SUFFIX);
list << appDir
<< QStringLiteral(LIBSNORE_PLUGIN_PATH)
<< appDir + suffix
<< appDir + QStringLiteral("/../lib/plugins") + suffix
<< appDir + QStringLiteral("/../lib64/plugins") + suffix;
<< appDir + QStringLiteral("/../lib64/plugins") + suffix
<< QStringLiteral(LIBSNORE_PLUGIN_PATH);
foreach (const QString &p, list) {
path = QDir(p);