direct calls now that layoutContainments is virtual
This commit is contained in:
parent
9bc518295c
commit
23ee4d2f31
@ -1643,7 +1643,7 @@ void Containment::resizeEvent(QGraphicsSceneResizeEvent *event)
|
|||||||
if (d->isPanelContainment()) {
|
if (d->isPanelContainment()) {
|
||||||
d->positionPanel();
|
d->positionPanel();
|
||||||
} else if (corona()) {
|
} else if (corona()) {
|
||||||
QMetaObject::invokeMethod(corona(), "layoutContainments");
|
corona()->layoutContainments();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (d->wallpaper) {
|
if (d->wallpaper) {
|
||||||
@ -1758,7 +1758,7 @@ QVariant Containment::itemChange(GraphicsItemChange change, const QVariant &valu
|
|||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
if (corona()) {
|
if (corona()) {
|
||||||
QMetaObject::invokeMethod(corona(), "layoutContainments");
|
corona()->layoutContainments();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user