don't save containment stuff if you're not a containment
svn path=/trunk/KDE/kdelibs/; revision=1126393
This commit is contained in:
parent
67180894e9
commit
5d68a5bc56
@ -411,6 +411,11 @@ void Containment::save(KConfigGroup &g) const
|
||||
|
||||
// locking is saved in Applet::save
|
||||
Applet::save(group);
|
||||
|
||||
if (! isContainment()) {
|
||||
return;
|
||||
}
|
||||
|
||||
group.writeEntry("screen", d->screen);
|
||||
group.writeEntry("desktop", d->desktop);
|
||||
group.writeEntry("formfactor", (int)d->formFactor);
|
||||
|
Loading…
x
Reference in New Issue
Block a user