forked from qt-creator/qt-creator
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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user