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:
parent
060bf4148f
commit
6934ba2672
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user