be extra forgiving, even

This commit is contained in:
Aaron Seigo 2011-12-19 15:20:04 +01:00
parent 43b46a57e3
commit 22a73dd0ab

View File

@ -258,6 +258,7 @@ int main(int argc, char **argv)
QString serviceType = package.metadata().serviceType(); QString serviceType = package.metadata().serviceType();
if (!serviceType.isEmpty()) { if (!serviceType.isEmpty()) {
if (serviceType.contains("Plasma/Applet") || if (serviceType.contains("Plasma/Applet") ||
serviceType.contains("Plasma/PopupApplet") ||
serviceType.contains("Plasma/Containment")) { serviceType.contains("Plasma/Containment")) {
type = "plasmoid"; type = "plasmoid";
} else if (serviceType == "Plasma/DataEngine") { } else if (serviceType == "Plasma/DataEngine") {