isValid
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=807410
This commit is contained in:
parent
691262431c
commit
caa2fdc688
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user