restore corona immutability
BUG:334141
This commit is contained in:
parent
2591685579
commit
a6eca11b84
@ -54,7 +54,6 @@ Corona::Corona(QObject *parent)
|
||||
// qDebug() << "!!{} STARTUP TIME" << QTime().msecsTo(QTime::currentTime()) << "Corona ctor start";
|
||||
#endif
|
||||
d->init();
|
||||
//setViewport(new QGLWidget(QGLFormat(QGL::StencilBuffer | QGL::AlphaChannel)));
|
||||
}
|
||||
|
||||
Corona::~Corona()
|
||||
@ -155,6 +154,9 @@ void Corona::loadLayout(const QString &configName)
|
||||
|
||||
KConfigGroup conf(config(), QString());
|
||||
d->importLayout(conf, false);
|
||||
|
||||
KConfigGroup cg(config(), "General");
|
||||
setImmutability((Plasma::Types::ImmutabilityType)cg.readEntry("immutability", (int)Plasma::Types::Mutable));
|
||||
}
|
||||
|
||||
QList<Plasma::Containment *> Corona::importLayout(const KConfigGroup &conf)
|
||||
|
Loading…
Reference in New Issue
Block a user