svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=807410
This commit is contained in:
Aaron J. Seigo 2008-05-13 19:42:17 +00:00
parent 691262431c
commit caa2fdc688

View File

@ -178,7 +178,7 @@ void Applet::restore(KConfigGroup *c)
setImmutability((ImmutabilityType)c->readEntry("immutability", (int)Mutable));
QRectF geom = c->readEntry("geometry",QRectF());
if (geom.width() > 0) {
if (geom.isValid()) {
setGeometry(geom);
}
}