port away from kglobal
This commit is contained in:
parent
8e7b77153e
commit
0033cb5513
@ -24,7 +24,6 @@
|
|||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
#include "plasma/pluginloader.h"
|
#include "plasma/pluginloader.h"
|
||||||
|
|
||||||
#include <KGlobal>
|
|
||||||
|
|
||||||
View::View(Plasma::Corona *corona, QWindow *parent)
|
View::View(Plasma::Corona *corona, QWindow *parent)
|
||||||
: QQuickView(parent),
|
: QQuickView(parent),
|
||||||
@ -52,7 +51,7 @@ KConfigGroup View::config() const
|
|||||||
if (!containment()) {
|
if (!containment()) {
|
||||||
return KConfigGroup();
|
return KConfigGroup();
|
||||||
}
|
}
|
||||||
KConfigGroup views(KGlobal::config(), "PlasmaViews");
|
KConfigGroup views(KSharedConfig::openConfig(), "PlasmaViews");
|
||||||
return KConfigGroup(&views, QString::number(containment()->screen()));
|
return KConfigGroup(&views, QString::number(containment()->screen()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user