Commit 53e31576 authored by Marco Bubke's avatar Marco Bubke Committed by Thomas Hartmann
Browse files

QmlDesigner: Remove qDebugs in the NodeInstanceSignalSpy



Change-Id: I3f725f3e502cd2541943f1cfb407aad332539606
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent bf3c8601
...@@ -96,7 +96,6 @@ void NodeInstanceSignalSpy::registerValueType(const QMetaProperty &metaProperty, ...@@ -96,7 +96,6 @@ void NodeInstanceSignalSpy::registerValueType(const QMetaProperty &metaProperty,
index < valueType->metaObject()->propertyCount(); index < valueType->metaObject()->propertyCount();
index++) { index++) {
QMetaProperty valueTypeMetaProperty = valueType->metaObject()->property(index); QMetaProperty valueTypeMetaProperty = valueType->metaObject()->property(index);
qDebug() << "spy value property: " << propertyPrefix + PropertyName(metaProperty.name()) + "." + valueTypeMetaProperty.name();
m_indexPropertyHash.insert(methodeOffset, propertyPrefix + PropertyName(metaProperty.name()) + "." + valueTypeMetaProperty.name()); m_indexPropertyHash.insert(methodeOffset, propertyPrefix + PropertyName(metaProperty.name()) + "." + valueTypeMetaProperty.name());
} }
...@@ -110,7 +109,6 @@ void NodeInstanceSignalSpy::registerChildObject(const QMetaProperty &metaPropert ...@@ -110,7 +109,6 @@ void NodeInstanceSignalSpy::registerChildObject(const QMetaProperty &metaPropert
&& QQmlMetaType::isQObject(metaProperty.userType()) && QQmlMetaType::isQObject(metaProperty.userType())
&& QLatin1String(metaProperty.name()) != "parent") { && QLatin1String(metaProperty.name()) != "parent") {
QObject *childObject = QQmlMetaType::toQObject(metaProperty.read(spiedObject)); QObject *childObject = QQmlMetaType::toQObject(metaProperty.read(spiedObject));
qDebug() << "spy child property: " << childObject << metaProperty.name();
if (childObject) { if (childObject) {
for (int index = QObject::staticMetaObject.propertyOffset(); for (int index = QObject::staticMetaObject.propertyOffset();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment