diff options
author | Joerg Bornemann <joerg.bornemann@trolltech.com> | 2009-05-25 16:10:08 (GMT) |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@trolltech.com> | 2009-05-25 16:10:08 (GMT) |
commit | 305ce9ea67c11826d91c032ead55edfd5e15462f (patch) | |
tree | dc1eb43877c372a1d5452d7a46c8614ef1bd682c /src/svg | |
parent | a731cb5c1765bc3ab71469e86ec0533e5a5c18a5 (diff) | |
download | Qt-305ce9ea67c11826d91c032ead55edfd5e15462f.zip Qt-305ce9ea67c11826d91c032ead55edfd5e15462f.tar.gz Qt-305ce9ea67c11826d91c032ead55edfd5e15462f.tar.bz2 |
fix warning in QtSvg if qreal == float
Reviewed-by: mauricek
Diffstat (limited to 'src/svg')
-rw-r--r-- | src/svg/qsvggenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/svg/qsvggenerator.cpp b/src/svg/qsvggenerator.cpp index e822da5..fd4c875 100644 --- a/src/svg/qsvggenerator.cpp +++ b/src/svg/qsvggenerator.cpp @@ -261,7 +261,7 @@ public: constantAlpha &= (stops.at(i).second.alpha() == alpha); if (!constantAlpha) { - const qreal spacing = 0.02; + const qreal spacing = qreal(0.02); QGradientStops newStops; QRgb fromColor = PREMUL(stops.at(0).second.rgba()); QRgb toColor; |