From 57068febe40d759a6b31a403a849d50792bfea76 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Sat, 26 Apr 2014 17:24:43 +0200 Subject: [PATCH] port to KConfigLoader --- shell/containmentconfigview.cpp | 3 ++- shell/widgetexplorer/plasmaappletitemmodel.cpp | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/shell/containmentconfigview.cpp b/shell/containmentconfigview.cpp index e1109e82e..6db18e646 100644 --- a/shell/containmentconfigview.cpp +++ b/shell/containmentconfigview.cpp @@ -23,6 +23,7 @@ #include "shellcorona.h" #include +#include #include #include @@ -186,7 +187,7 @@ void ContainmentConfigView::setCurrentWallpaper(const QString &wallpaper) QFile file(pkg.filePath("config", "main.xml")); KConfigGroup cfg = m_containment->config(); cfg = KConfigGroup(&cfg, "Wallpaper"); - m_currentWallpaperConfig = m_ownWallpaperConfig = new KDeclarative::ConfigPropertyMap(new Plasma::ConfigLoader(&cfg, &file), this); + m_currentWallpaperConfig = m_ownWallpaperConfig = new KDeclarative::ConfigPropertyMap(new KConfigLoader(cfg, &file), this); } m_currentWallpaper = wallpaper; diff --git a/shell/widgetexplorer/plasmaappletitemmodel.cpp b/shell/widgetexplorer/plasmaappletitemmodel.cpp index 3000f1e9c..c6b0991a6 100644 --- a/shell/widgetexplorer/plasmaappletitemmodel.cpp +++ b/shell/widgetexplorer/plasmaappletitemmodel.cpp @@ -25,6 +25,7 @@ #include #include #include +#include PlasmaAppletItem::PlasmaAppletItem(PlasmaAppletItemModel *model, const KPluginInfo& info,