diff --git a/applet.cpp b/applet.cpp index 6f676176f..2098646a8 100644 --- a/applet.cpp +++ b/applet.cpp @@ -1365,7 +1365,7 @@ Applet* Applet::load(const QString& appletName, uint appletId, const QVariantLis // from the network at this point offers = KServiceTypeTrader::self()->query("Plasma/Containment", constraint); isContainment = true; - if (!offers.isEmpty()) { + if (offers.isEmpty()) { kDebug() << "offers is empty for " << appletName; return 0; } diff --git a/servicetypes/plasma-containment.desktop b/servicetypes/plasma-containment.desktop index 44ee97aae..8cf7ed5b6 100644 --- a/servicetypes/plasma-containment.desktop +++ b/servicetypes/plasma-containment.desktop @@ -44,3 +44,5 @@ Comment[x-test]=xxPlasma applet container and background painterxx Comment[zh_CN]=Plasma 小程序容器和背景绘制程序 Comment[zh_TW]=Plasma 小程式容器與背景畫家 +[PropertyDef::X-Plasma-Language] +Type=QString