Don't import an nonexistent layout
It should have a containment at least REVIEW: 127345
This commit is contained in:
parent
c23f2415bb
commit
309c64f5e9
@ -176,7 +176,9 @@ void Corona::loadLayout(const QString &configName)
|
||||
}
|
||||
|
||||
KConfigGroup conf(config(), QString());
|
||||
if (!config()->groupList().isEmpty()) {
|
||||
d->importLayout(conf, false);
|
||||
}
|
||||
|
||||
KConfigGroup cg(config(), "General");
|
||||
setImmutability((Plasma::Types::ImmutabilityType)cg.readEntry("immutability", (int)Plasma::Types::Mutable));
|
||||
|
Loading…
Reference in New Issue
Block a user