set the geometry and then add the offscreen containment to corona->no
more colliding calendars svn path=/trunk/KDE/kdelibs/; revision=970798
This commit is contained in:
parent
91e70eb15e
commit
87d8831b2e
@ -286,11 +286,12 @@ void Containment::restore(KConfigGroup &group)
|
||||
setMinimumSize(minimumSize().boundedTo(geo.size()));
|
||||
}
|
||||
|
||||
|
||||
setGeometry(geo);
|
||||
//are we an offscreen containment?
|
||||
if (containmentType() != PanelContainment && containmentType() != CustomPanelContainment && geo.right() < 0) {
|
||||
corona()->addOffscreenWidget(this);
|
||||
}
|
||||
setGeometry(geo);
|
||||
|
||||
setLocation((Plasma::Location)group.readEntry("location", (int)d->location));
|
||||
setFormFactor((Plasma::FormFactor)group.readEntry("formfactor", (int)d->formFactor));
|
||||
|
Loading…
Reference in New Issue
Block a user