diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2017-03-15 12:12:22 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2017-03-31 08:30:56 +0000 |
commit | 9b4d31825e5f76e91af555549223ea6b33dd37e6 (patch) | |
tree | 47a8d363f4dee6cf8be7257b8255bb861566559d /tests/auto/qml/debugger/shared/qqmlenginedebugclient.cpp | |
parent | da6fd9c762561d41ce3372c98a555771d18241d6 (diff) |
Qml Debugger: Make sure all objects have a type
QQmlMetaType::prettyTypeName() does a better job in finding a valid type
name for our objects than we can do ourselves.
Task-number: QTCREATORBUG-17741
Change-Id: Ie8a192aceb230e73b5295b745987692548aff641
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests/auto/qml/debugger/shared/qqmlenginedebugclient.cpp')
-rw-r--r-- | tests/auto/qml/debugger/shared/qqmlenginedebugclient.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qml/debugger/shared/qqmlenginedebugclient.cpp b/tests/auto/qml/debugger/shared/qqmlenginedebugclient.cpp index 3e27951d78..c0252a0290 100644 --- a/tests/auto/qml/debugger/shared/qqmlenginedebugclient.cpp +++ b/tests/auto/qml/debugger/shared/qqmlenginedebugclient.cpp @@ -386,6 +386,7 @@ void QQmlEngineDebugClient::decode(QPacket &ds, { QmlDebugObjectReference obj; obj.debugId = prop.value.toInt(); + obj.className = prop.valueTypeName; prop.value = qVariantFromValue(obj); break; } |