try to work with ServiceTypes=Plasma/Applet,Plasma/PopupApplet
This commit is contained in:
parent
183e794059
commit
43b46a57e3
@ -257,9 +257,8 @@ int main(int argc, char **argv)
|
||||
package.setPath(packageFile);
|
||||
QString serviceType = package.metadata().serviceType();
|
||||
if (!serviceType.isEmpty()) {
|
||||
if (serviceType == "Plasma/Applet" ||
|
||||
serviceType == "Plasma/Containment" ||
|
||||
serviceType == "Plasma/PopupApplet") {
|
||||
if (serviceType.contains("Plasma/Applet") ||
|
||||
serviceType.contains("Plasma/Containment")) {
|
||||
type = "plasmoid";
|
||||
} else if (serviceType == "Plasma/DataEngine") {
|
||||
type = "dataengine";
|
||||
|
Loading…
Reference in New Issue
Block a user