diff options
author | Jason Barron <jbarron@trolltech.com> | 2009-08-26 08:21:10 (GMT) |
---|---|---|
committer | Jason Barron <jbarron@trolltech.com> | 2009-08-26 09:11:45 (GMT) |
commit | 01255c3b33de2f72ff0b8802e8bea0ea79998f00 (patch) | |
tree | b0cfa6f76522e4d19bd123658d4fec36545f42ce /src/gui/graphicsview/qgraphicslayout_p.h | |
parent | 6eb08228397400be1141611dd96cdad12161d016 (diff) | |
download | Qt-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