Fix use of qMax() with floating point constants
authorSergio Ahumada <sergio.ahumada@nokia.com>
Sun, 30 Oct 2011 17:41:51 +0000 (18:41 +0100)
committerQt by Nokia <qt-info@nokia.com>
Sun, 30 Oct 2011 19:24:37 +0000 (20:24 +0100)
commit79e7fb4ed614cd5502e16f319170e5b26d54c528
tree70ec9c56ab6e0c1a367bd9f3052ea9b327f9a8db
parent4fe3cf8ee991e6adf3756019ff9d326769f0acf0
Fix use of qMax() with floating point constants

When passing floating point constants make sure
to cast them as qreal's.

Change-Id: I17e7ee407ac4f92ce947f6a384aa4d64edb8e983
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
src/gui/painting/qcosmeticstroker.cpp
src/widgets/styles/qstylehelper.cpp