Fixed types for plugin recognition in shell
This commit is contained in:
parent
1a68e9aabf
commit
f517765bd0
@ -37,10 +37,10 @@ Plasma::Package ShellPluginLoader::internalLoadPackage(const QString &packageFor
|
||||
{
|
||||
Q_UNUSED(specialization)
|
||||
|
||||
if (packageFormat.endsWith("/LookAndFeel")) {
|
||||
if (packageFormat == "Plasma/LookAndFeel") {
|
||||
Plasma::PackageStructure *structure = new LookAndFeelPackage();
|
||||
return Plasma::Package(structure);
|
||||
} else if (packageFormat.endsWith("/Wallpaper")) {
|
||||
} else if (packageFormat == "Plasma/Wallpaper") {
|
||||
Plasma::PackageStructure *structure = new QmlWallpaperPackage();
|
||||
return Plasma::Package(structure);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user