[utilities/basket] src: Drop hardcoded /lib/plugins library path

Pino Toscano <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit b3e172c83045a145ee5d4db21f82e6e4a0f1e957 by Pino Toscano.
Committed on 25/07/2026 at 22:57.
Pushed by pino into branch 'master'.

Drop hardcoded /lib/plugins library path

Do not add /lib/plugins as hardcoded library path for plugins: other
than being hardcoded (and thus not respecting the installation prefix),
it also overrides the Qt environment variables for plugin search.

M  +0    -1    src/settings.cpp

https://invent.kde.org/utilities/basket/-/commit/b3e172c83045a145ee5d4db21f82e6e4a0f1e957

diff --git a/src/settings.cpp b/src/settings.cpp
index 8deff44b..47e43b61 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -345,7 +345,6 @@ void Settings::setAutoBullet(bool yes)
 SettingsDialog::SettingsDialog(QWidget *parent)
     : KCMultiDialog(parent)
 {
-    QCoreApplication::addLibraryPath(QStringLiteral("/lib/plugins"));
     const QList<KPluginMetaData> availablePlugins = KPluginMetaData::findPlugins(QStringLiteral("pim/kcms/basket"));
     qInfo() << "SettingsDialog" << availablePlugins.size();
     for (const KPluginMetaData &metaData : availablePlugins) {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.