make sure we get a layout, this fixes the sizing of applets
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=722674
This commit is contained in:
parent
1fce16d307
commit
ae9727817f
@ -268,7 +268,7 @@ void Containment::contextMenuEvent(QGraphicsSceneContextMenuEvent* event)
|
|||||||
|
|
||||||
void Containment::setFormFactor(FormFactor formFactor)
|
void Containment::setFormFactor(FormFactor formFactor)
|
||||||
{
|
{
|
||||||
if (d->formFactor == formFactor) {
|
if (d->formFactor == formFactor && d->layout) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user