summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicslayout_p.h
diff options
context:
space:
mode:
authorJason Barron <jbarron@trolltech.com>2009-08-26 08:21:10 (GMT)
committerJason Barron <jbarron@trolltech.com>2009-08-26 09:11:45 (GMT)
commit01255c3b33de2f72ff0b8802e8bea0ea79998f00 (patch)
treeb0cfa6f76522e4d19bd123658d4fec36545f42ce /src/gui/graphicsview/qgraphicslayout_p.h
parent6eb08228397400be1141611dd96cdad12161d016 (diff)
downloadQt-01255c3b33de2f72ff0b8802e8bea0ea79998f00.zip
Qt-01255c3b33de2f72ff0b8802e8bea0ea79998f00.tar.gz
Qt-01255c3b33de2f72ff0b8802e8bea0ea79998f00.tar.bz2
Make the 'effects' examples compile when qreal == float.
All of the types supplied to qBound() must be the same and in the case where qreal is typedef'ed to a float, this is not the case because the outer 2 arguments are considered doubles. We explicitly cast them to qreal to guarantee they are all the same type. Reviewed-by: bnilsen
Diffstat (limited to 'src/gui/graphicsview/qgraphicslayout_p.h')
0 files changed, 0 insertions, 0 deletions