Skip to content
Snippets Groups Projects
Commit 637ae98c authored by Aurindam Jana's avatar Aurindam Jana
Browse files

BaseEngineDebugClient: Unpack property of type Variant


Task-number: QTCREATORBUG-7456

Change-Id: I6db02007ce4e89f7203530167ca307dc29bd4fe1
Reviewed-by: default avatarChristiaan Janssen <christiaan.janssen@nokia.com>
parent 69a90cf9
No related branches found
No related tags found
No related merge requests found
......@@ -53,7 +53,7 @@ QDataStream &operator>>(QDataStream &ds, QmlObjectData &data)
}
struct QmlObjectProperty {
enum Type { Unknown, Basic, Object, List, SignalProperty };
enum Type { Unknown, Basic, Object, List, SignalProperty, Variant };
Type type;
QString name;
QVariant value;
......@@ -120,6 +120,7 @@ void BaseEngineDebugClient::decode(QDataStream &ds,
case QmlObjectProperty::Basic:
case QmlObjectProperty::List:
case QmlObjectProperty::SignalProperty:
case QmlObjectProperty::Variant:
{
prop.m_value = data.value;
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment