summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativevaluetypes/testtypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qdeclarativevaluetypes/testtypes.h')
-rw-r--r--tests/auto/declarative/qdeclarativevaluetypes/testtypes.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/declarative/qdeclarativevaluetypes/testtypes.h b/tests/auto/declarative/qdeclarativevaluetypes/testtypes.h
index f0c752ce..3347a264 100644
--- a/tests/auto/declarative/qdeclarativevaluetypes/testtypes.h
+++ b/tests/auto/declarative/qdeclarativevaluetypes/testtypes.h
@@ -86,10 +86,10 @@ public:
m_sizef(0.1, 100923.2),
m_rect(2, 3, 109, 102),
m_rectf(103.8, 99.2, 88.1, 77.6),
- m_vector2(32.88, 1.3),
- m_vector(23.88, 3.1, 4.3),
- m_vector4(54.2, 23.88, 3.1, 4.3),
- m_quaternion(4.3, 54.2, 23.88, 3.1),
+ m_vector2(32.88f, 1.3f),
+ m_vector(23.88f, 3.1f, 4.3f),
+ m_vector4(54.2f, 23.88f, 3.1f, 4.3f),
+ m_quaternion(4.3f, 54.2f, 23.88f, 3.1f),
m_matrix(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
{
m_font.setFamily("Arial");