Fix build.
This commit is contained in:
parent
e8a4332034
commit
752faa454d
@ -230,7 +230,7 @@ void PlasmaAppletItemModel::populateModel(const QStringList &whatChanged)
|
||||
// << Plasma::Applet::listAppletInfo(QString(), m_application).count();
|
||||
KService::List services = KServiceTypeTrader::self()->query("Plasma/Applet", QString());
|
||||
|
||||
foreach (const KSharedPtr<KService> service, services) {
|
||||
foreach (const QExplicitlySharedDataPointer<KService> service, services) {
|
||||
KPluginInfo info(service);
|
||||
//qDebug() << info.pluginName() << "NoDisplay" << info.property("NoDisplay").toBool();
|
||||
if (info.property("NoDisplay").toBool() || info.category() == i18n("Containments")) {
|
||||
|
@ -117,7 +117,7 @@ void WidgetExplorerPrivate::initFilters()
|
||||
QStringList cats;
|
||||
KService::List services = KServiceTypeTrader::self()->query("Plasma/Applet", QString());
|
||||
|
||||
foreach (const KSharedPtr<KService> service, services) {
|
||||
foreach (const QExplicitlySharedDataPointer<KService> service, services) {
|
||||
KPluginInfo info(service);
|
||||
if (info.property("NoDisplay").toBool() || info.category() == i18n("Containments") ||
|
||||
info.category().isEmpty()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user