summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qsimplex_p.cpp
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@nokia.com>2009-08-26 09:25:08 (GMT)
committerJoerg Bornemann <joerg.bornemann@nokia.com>2009-08-26 09:27:44 (GMT)
commitdad83c695e968d7c9fb0be2f4636cf14d34fb8a1 (patch)
tree4699bdb1a869d6a119e59f17d5217b25e4e504b5 /src/gui/graphicsview/qsimplex_p.cpp
parent796d7cc7dd96cea9875afe2e9cf814e8cb192aa1 (diff)
downloadQt-dad83c695e968d7c9fb0be2f4636cf14d34fb8a1.zip
Qt-dad83c695e968d7c9fb0be2f4636cf14d34fb8a1.tar.gz
Qt-dad83c695e968d7c9fb0be2f4636cf14d34fb8a1.tar.bz2
fix warnings on Windows CE
Lots of warnings in the qreal == float case. Some Q_UNUSED added. Reviewed-by: thartman
Diffstat (limited to 'src/gui/graphicsview/qsimplex_p.cpp')
-rw-r--r--src/gui/graphicsview/qsimplex_p.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/graphicsview/qsimplex_p.cpp b/src/gui/graphicsview/qsimplex_p.cpp
index dbd8d4f..30a7d5d 100644
--- a/src/gui/graphicsview/qsimplex_p.cpp
+++ b/src/gui/graphicsview/qsimplex_p.cpp
@@ -293,7 +293,7 @@ int QSimplex::findPivotColumn()
int QSimplex::pivotRowForColumn(int column)
{
- qreal min = 999999999999.0; // ###
+ qreal min = qreal(999999999999.0); // ###
int minIndex = -1;
for (int i = 1; i < rows; ++i) {