From 752faa454d52a01246278d50b6d33ddf6775d778 Mon Sep 17 00:00:00 2001 From: Eike Hein Date: Mon, 2 Sep 2013 00:11:37 +0200 Subject: [PATCH] Fix build. --- src/shell/widgetexplorer/plasmaappletitemmodel.cpp | 2 +- src/shell/widgetexplorer/widgetexplorer.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/shell/widgetexplorer/plasmaappletitemmodel.cpp b/src/shell/widgetexplorer/plasmaappletitemmodel.cpp index 3af56f70a..2b2729294 100644 --- a/src/shell/widgetexplorer/plasmaappletitemmodel.cpp +++ b/src/shell/widgetexplorer/plasmaappletitemmodel.cpp @@ -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 service, services) { + foreach (const QExplicitlySharedDataPointer service, services) { KPluginInfo info(service); //qDebug() << info.pluginName() << "NoDisplay" << info.property("NoDisplay").toBool(); if (info.property("NoDisplay").toBool() || info.category() == i18n("Containments")) { diff --git a/src/shell/widgetexplorer/widgetexplorer.cpp b/src/shell/widgetexplorer/widgetexplorer.cpp index 70ae78b1b..be76b85fb 100644 --- a/src/shell/widgetexplorer/widgetexplorer.cpp +++ b/src/shell/widgetexplorer/widgetexplorer.cpp @@ -117,7 +117,7 @@ void WidgetExplorerPrivate::initFilters() QStringList cats; KService::List services = KServiceTypeTrader::self()->query("Plasma/Applet", QString()); - foreach (const KSharedPtr service, services) { + foreach (const QExplicitlySharedDataPointer service, services) { KPluginInfo info(service); if (info.property("NoDisplay").toBool() || info.category() == i18n("Containments") || info.category().isEmpty()) {