forked from qt-creator/qt-creator
Revert "QmlDesigner: call directly the invalidate method"
This reverts commit 74e863f867 as it
breaks compile with Qt5.4.
Change-Id: Ifce52a7790c4f40ce0ccd56a2daacc4d32fe3257
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
This commit is contained in:
committed by
Thomas Hartmann
parent
750664dac6
commit
0e7c5a1c7e
@@ -161,7 +161,7 @@ MetaObject::MetaObject(QObject *object, QQmlEngine *engine)
|
||||
//Assign cache to object
|
||||
if (ddata && ddata->propertyCache) {
|
||||
cache->setParent(ddata->propertyCache);
|
||||
cache->invalidate(this);
|
||||
cache->invalidate(engine, this);
|
||||
ddata->propertyCache = m_cache;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user