diff --git a/src/shell/panelview.cpp b/src/shell/panelview.cpp index 296414093..cb4af2b85 100644 --- a/src/shell/panelview.cpp +++ b/src/shell/panelview.cpp @@ -21,7 +21,6 @@ #include #include -#include #include #include @@ -71,7 +70,7 @@ KConfigGroup PanelView::config() const if (!containment()) { return KConfigGroup(); } - KConfigGroup views(KGlobal::config(), "PlasmaViews"); + KConfigGroup views(KSharedConfig::openConfig(), "PlasmaViews"); views = KConfigGroup(&views, QString("Panel %1").arg(containment()->id())); if (containment()->formFactor() == Plasma::Vertical) {