also consider KServices in plasmapkg wallpaper listing
This commit is contained in:
parent
1dfab488e0
commit
b19f4fe01d
@ -367,8 +367,7 @@ QStringList PlasmaPkgPrivate::packages(const QStringList& types)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
} else {
|
||||
}
|
||||
const KService::List services = KServiceTypeTrader::self()->query(type);
|
||||
foreach (const KService::Ptr &service, services) {
|
||||
const QString _plugin = service->property("X-KDE-PluginInfo-Name", QVariant::String).toString();
|
||||
@ -377,7 +376,6 @@ QStringList PlasmaPkgPrivate::packages(const QStringList& types)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user