Compile fixes with Qt 6

Change-Id: Ia5335bef6aeaff3ce12339db52d96793ff588824
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Jarek Kobus
2020-11-03 17:59:19 +01:00
parent eeb9856064
commit c0408ed52e
3 changed files with 4 additions and 4 deletions
@@ -89,7 +89,7 @@ void NodeInstanceSignalSpy::registerChildObject(const QMetaProperty &metaPropert
if (metaProperty.isReadable()
&& !metaProperty.isWritable()
&& QmlPrivateGate::isPropertyQObject(metaProperty)
&& QLatin1String(metaProperty.name()) != "parent") {
&& QLatin1String(metaProperty.name()) != QLatin1String("parent")) {
QObject *childObject = QmlPrivateGate::readQObjectProperty(metaProperty, spiedObject);
if (childObject) {