diff options
author | Vyacheslav Koscheev <v.koscheev@2gis.ru> | 2016-10-27 11:06:09 +0700 |
---|---|---|
committer | Vyacheslav Koscheev <vok1980@gmail.com> | 2016-10-27 08:11:06 +0000 |
commit | 456f0e0f1a4fb422b029c5abd30e2e622435f76a (patch) | |
tree | d4b8b52bb2e1b85ab5322a3ca0f1430e80a919e8 | |
parent | 4e196159077a820e99bc8bd306d31d0ccaa17c57 (diff) |
Compilation fix
If qreal is float, then android-clang compilation was breaking here
Change-Id: Ieccc357ecbbea5cbb22a5808dd0791795240a985
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
-rw-r--r-- | src/gui/text/qfontengine_ft.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qfontengine_ft.cpp b/src/gui/text/qfontengine_ft.cpp index 1711865e59..199e207578 100644 --- a/src/gui/text/qfontengine_ft.cpp +++ b/src/gui/text/qfontengine_ft.cpp @@ -1790,7 +1790,7 @@ void QFontEngineFT::unlockAlphaMapForGlyph() static inline bool is2dRotation(const QTransform &t) { return qFuzzyCompare(t.m11(), t.m22()) && qFuzzyCompare(t.m12(), -t.m21()) - && qFuzzyCompare(t.m11()*t.m22() - t.m12()*t.m21(), 1.0); + && qFuzzyCompare(t.m11()*t.m22() - t.m12()*t.m21(), qreal(1.0)); } QFontEngineFT::Glyph *QFontEngineFT::loadGlyphFor(glyph_t g, |