From f9ec377f6e1d9bcea9884fbb4b574540609221db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20K=C3=BCgler?= Date: Thu, 25 Apr 2013 03:23:35 +0200 Subject: [PATCH] disable fs-based listing for wallpapers, works with kservice now --- src/plasmapkg/plasmapkg.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plasmapkg/plasmapkg.cpp b/src/plasmapkg/plasmapkg.cpp index cb59b1b70..7116d9362 100644 --- a/src/plasmapkg/plasmapkg.cpp +++ b/src/plasmapkg/plasmapkg.cpp @@ -368,6 +368,7 @@ QStringList PlasmaPkgPrivate::packages(const QStringList& types) QStringList result; foreach (const QString& type, types) { + /* if (type.compare("Plasma/Wallpaper", Qt::CaseInsensitive) == 0) { const QStringList &wallies = QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, "plasma/wallpapers/", QStandardPaths::LocateDirectory); foreach (const QString &wpath, wallies) { @@ -382,6 +383,7 @@ QStringList PlasmaPkgPrivate::packages(const QStringList& types) } } } + */ if (type.compare("Plasma/Generic", Qt::CaseInsensitive) == 0) { const QStringList &packs = QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, "plasma/packages/", QStandardPaths::LocateDirectory); foreach (const QString &ppath, packs) {