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)
|
Q_UNUSED(specialization)
|
||||||
|
|
||||||
if (packageFormat.endsWith("/LookAndFeel")) {
|
if (packageFormat == "Plasma/LookAndFeel") {
|
||||||
Plasma::PackageStructure *structure = new LookAndFeelPackage();
|
Plasma::PackageStructure *structure = new LookAndFeelPackage();
|
||||||
return Plasma::Package(structure);
|
return Plasma::Package(structure);
|
||||||
} else if (packageFormat.endsWith("/Wallpaper")) {
|
} else if (packageFormat == "Plasma/Wallpaper") {
|
||||||
Plasma::PackageStructure *structure = new QmlWallpaperPackage();
|
Plasma::PackageStructure *structure = new QmlWallpaperPackage();
|
||||||
return Plasma::Package(structure);
|
return Plasma::Package(structure);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user