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
|
// locking is saved in Applet::save
|
||||||
Applet::save(group);
|
Applet::save(group);
|
||||||
|
|
||||||
|
if (! isContainment()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
group.writeEntry("screen", d->screen);
|
group.writeEntry("screen", d->screen);
|
||||||
group.writeEntry("desktop", d->desktop);
|
group.writeEntry("desktop", d->desktop);
|
||||||
group.writeEntry("formfactor", (int)d->formFactor);
|
group.writeEntry("formfactor", (int)d->formFactor);
|
||||||
|
Loading…
Reference in New Issue
Block a user