direct calls now that layoutContainments is virtual

This commit is contained in:
Aaron Seigo 2011-05-26 19:01:31 +02:00
parent 9bc518295c
commit 23ee4d2f31

View File

@ -1643,7 +1643,7 @@ void Containment::resizeEvent(QGraphicsSceneResizeEvent *event)
if (d->isPanelContainment()) {
d->positionPanel();
} else if (corona()) {
QMetaObject::invokeMethod(corona(), "layoutContainments");
corona()->layoutContainments();
}
if (d->wallpaper) {
@ -1758,7 +1758,7 @@ QVariant Containment::itemChange(GraphicsItemChange change, const QVariant &valu
break;
default:
if (corona()) {
QMetaObject::invokeMethod(corona(), "layoutContainments");
corona()->layoutContainments();
}
break;
}