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:
parent
b8dfaea21c
commit
ff9832433d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user