QmlDesigner.Model: Add type info to VariantPropert stream operator

This is useful information.

Change-Id: I7757fff89e9d7a2fa07d65b47d6be829212d4d7e
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
This commit is contained in:
Thomas Hartmann
2014-03-05 12:13:20 +01:00
parent 5ca2d3ac9a
commit ee7439514f

View File

@@ -140,7 +140,7 @@ QDebug operator<<(QDebug debug, const VariantProperty &VariantProperty)
}
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;
}