fix restaure of applet geometry

aaron can you check?

CCMAIL:aseigo@kde.org


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=807088
This commit is contained in:
Alexis Ménard 2008-05-12 21:49:55 +00:00
parent b8dfaea21c
commit ff9832433d

View File

@ -176,6 +176,11 @@ void Applet::restore(KConfigGroup *c)
setZValue(z);
setImmutability((ImmutabilityType)c->readEntry("immutability", (int)Mutable));
QRectF geom = c->readEntry("geometry",QRectF());
if (geom.width() > 0) {
setGeometry(geom);
}
}
void Applet::setFailedToLaunch(bool failed, const QString& reason)