Verified Commit 070a4dab authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Remove QCoreApplication::libraryPaths hack

The person should use the KDE_INSTALL_USE_QT_SYS_PATHS cmake option or apply the script
parent ad29a242
......@@ -40,15 +40,6 @@ PluginManager::~PluginManager()
void PluginManager::loadPluginList()
pluginsMetaData = KPluginLoader::findPlugins(QStringLiteral("ktorrent"));
if (pluginsMetaData.isEmpty()) {
// simple workaround for the situation i have in debian --Nick
QStringList paths = QCoreApplication::libraryPaths();
if (paths.isEmpty())
paths << QLatin1String("/usr/lib/x86_64-linux-gnu/plugins");
pluginsMetaData = KPluginLoader::findPlugins(QStringLiteral("ktorrent"));
for (const KPluginMetaData &module : qAsConst(pluginsMetaData)) {
KPluginInfo pi(module);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment