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

QmlDesigner.Rewriter: Support for float type in QVariant



Change-Id: I29944ee139b69e9e896fdc533fb7c0ffbd888846
Reviewed-by: default avatarMarco Bubke <marco.bubke@digia.com>
parent ee743951
......@@ -127,6 +127,7 @@ QString QmlTextGenerator::toQml(const AbstractProperty &property, int indentDept
case QVariant::Color:
return QString(QLatin1String("\"%1\"")).arg(properColorName(value.value<QColor>()));
case QMetaType::Float:
case QVariant::Double:
return doubleToString(value.toDouble());
case QVariant::Int:
......
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