From 35296f7037d38dd825c4add4fdbb510ae785dd89 Mon Sep 17 00:00:00 2001 From: Fabian Kosmale Date: Wed, 25 Nov 2020 11:13:42 +0100 Subject: QQmlPropertyCache: Remove unused copyAndAppend overload Original-patch-by: Lars Knoll Task-number: QTBUG-88765 Change-Id: I85dad61a1c3ade29137be9870ce8af726be81a28 Reviewed-by: Ulf Hermann --- tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/auto/qml') diff --git a/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp b/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp index a4c8da1da2..875a174814 100644 --- a/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp +++ b/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp @@ -221,7 +221,7 @@ void tst_qqmlpropertycache::propertiesDerived() QQmlRefPointer parentCache( new QQmlPropertyCache(&BaseObject::staticMetaObject), QQmlRefPointer::Adopt); - QQmlRefPointer cache(parentCache->copyAndAppend(object.metaObject()), + QQmlRefPointer cache(parentCache->copyAndAppend(object.metaObject(), QTypeRevision()), QQmlRefPointer::Adopt); QQmlPropertyData *data; @@ -302,7 +302,7 @@ void tst_qqmlpropertycache::methodsDerived() QQmlRefPointer parentCache( new QQmlPropertyCache(&BaseObject::staticMetaObject), QQmlRefPointer::Adopt); - QQmlRefPointer cache(parentCache->copyAndAppend(object.metaObject()), + QQmlRefPointer cache(parentCache->copyAndAppend(object.metaObject(), QTypeRevision {}), QQmlRefPointer::Adopt); QQmlPropertyData *data; @@ -369,7 +369,7 @@ void tst_qqmlpropertycache::signalHandlersDerived() QQmlRefPointer parentCache( new QQmlPropertyCache(&BaseObject::staticMetaObject), QQmlRefPointer::Adopt); - QQmlRefPointer cache(parentCache->copyAndAppend(object.metaObject()), + QQmlRefPointer cache(parentCache->copyAndAppend(object.metaObject(), QTypeRevision{}), QQmlRefPointer::Adopt); QQmlPropertyData *data; -- cgit v1.2.3