Repeat after me: it's not a virtual method :)

Should use QMetaObject::invokeMethod for the trick.

svn path=/trunk/KDE/kdelibs/; revision=1095696
This commit is contained in:
Artur Duque de Souza 2010-02-24 21:11:02 +00:00
parent 060bf4148f
commit 6934ba2672

View File

@ -1595,7 +1595,7 @@ void Containment::resizeEvent(QGraphicsSceneResizeEvent *event)
break;
default:
if (corona()) {
corona()->layoutContainments();
QMetaObject::invokeMethod(corona(), "layoutContainments");
}
break;
}
@ -1714,7 +1714,7 @@ QVariant Containment::itemChange(GraphicsItemChange change, const QVariant &valu
break;
default:
if (corona()) {
corona()->layoutContainments();
QMetaObject::invokeMethod(corona(), "layoutContainments");
}
break;
}