forked from qt-creator/qt-creator
QmlDesigner: Get whole values for value types too.
Task-number: QTCREATORBUG-12130 Change-Id: Ic43826060d9ce38aded7fc3a68dff2ea6860bfc1 Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
This commit is contained in:
@@ -713,6 +713,7 @@ PropertyNameList allPropertyNames(QObject *object, const PropertyName &baseName
|
||||
} else if (QQmlValueTypeFactory::valueType(metaProperty.userType())) {
|
||||
QQmlValueType *valueType = QQmlValueTypeFactory::valueType(metaProperty.userType());
|
||||
valueType->setValue(metaProperty.read(object));
|
||||
propertyNameList.append(baseName + PropertyName(metaProperty.name()));
|
||||
propertyNameList.append(allPropertyNames(valueType, baseName + PropertyName(metaProperty.name()) + '.', inspectedObjects));
|
||||
} else {
|
||||
propertyNameList.append(baseName + PropertyName(metaProperty.name()));
|
||||
|
||||
Reference in New Issue
Block a user