From f517765bd062f7efea0d0e2aeb5f53105f9330ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20K=C3=BCgler?= Date: Thu, 16 Jan 2014 20:14:19 +0100 Subject: [PATCH] Fixed types for plugin recognition in shell --- src/shell/shellpluginloader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/shell/shellpluginloader.cpp b/src/shell/shellpluginloader.cpp index 7be53528f..c57b348ed 100644 --- a/src/shell/shellpluginloader.cpp +++ b/src/shell/shellpluginloader.cpp @@ -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 {