port away from kglobal
This commit is contained in:
parent
772e05749d
commit
8e7b77153e
@ -21,7 +21,6 @@
|
|||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QScreen>
|
#include <QScreen>
|
||||||
|
|
||||||
#include <KGlobal>
|
|
||||||
#include <KWindowSystem>
|
#include <KWindowSystem>
|
||||||
#include <kwindoweffects.h>
|
#include <kwindoweffects.h>
|
||||||
|
|
||||||
@ -71,7 +70,7 @@ KConfigGroup PanelView::config() const
|
|||||||
if (!containment()) {
|
if (!containment()) {
|
||||||
return KConfigGroup();
|
return KConfigGroup();
|
||||||
}
|
}
|
||||||
KConfigGroup views(KGlobal::config(), "PlasmaViews");
|
KConfigGroup views(KSharedConfig::openConfig(), "PlasmaViews");
|
||||||
views = KConfigGroup(&views, QString("Panel %1").arg(containment()->id()));
|
views = KConfigGroup(&views, QString("Panel %1").arg(containment()->id()));
|
||||||
|
|
||||||
if (containment()->formFactor() == Plasma::Vertical) {
|
if (containment()->formFactor() == Plasma::Vertical) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user