Commit ee743951 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.Model: Add type info to VariantPropert stream operator



This is useful information.

Change-Id: I7757fff89e9d7a2fa07d65b47d6be829212d4d7e
Reviewed-by: default avatarMarco Bubke <marco.bubke@digia.com>
parent 5ca2d3ac
...@@ -140,7 +140,7 @@ QDebug operator<<(QDebug debug, const VariantProperty &VariantProperty) ...@@ -140,7 +140,7 @@ QDebug operator<<(QDebug debug, const VariantProperty &VariantProperty)
} }
QTextStream& operator<<(QTextStream &stream, const VariantProperty &property) QTextStream& operator<<(QTextStream &stream, const VariantProperty &property)
{ {
stream << "VariantProperty(" << property.name() << ',' << ' ' << property.value().toString() << ')'; stream << "VariantProperty(" << property.name() << ',' << ' ' << property.value().toString() << ' ' << property.value().typeName() << ')';
return stream; return stream;
} }
......
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