diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-05-14 05:38:27 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-05-14 05:38:27 (GMT) |
commit | efc9a552d6d3f03b962ce0df260fb2c61b8b8ec1 (patch) | |
tree | 67c289729c6539769f02e909d20ce3a1cb99cad0 /src/declarative/fx | |
parent | 802674eb8afa56a3bed3f4e280ef4876d1355328 (diff) | |
download | Qt-efc9a552d6d3f03b962ce0df260fb2c61b8b8ec1.zip Qt-efc9a552d6d3f03b962ce0df260fb2c61b8b8ec1.tar.gz Qt-efc9a552d6d3f03b962ce0df260fb2c61b8b8ec1.tar.bz2 |
Make compile on arm.
Diffstat (limited to 'src/declarative/fx')
-rw-r--r-- | src/declarative/fx/qfxgridview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/fx/qfxgridview.cpp b/src/declarative/fx/qfxgridview.cpp index 5156d06..0f848d6 100644 --- a/src/declarative/fx/qfxgridview.cpp +++ b/src/declarative/fx/qfxgridview.cpp @@ -472,7 +472,7 @@ void QFxGridViewPrivate::refill(qreal from, qreal to) void QFxGridViewPrivate::updateGrid() { Q_Q(QFxGridView); - columns = (int)qMax((flow == QFxGridView::LeftToRight ? q->width() : q->height()) / colSize(), 1.); + columns = (int)qMax((flow == QFxGridView::LeftToRight ? q->width() : q->height()) / colSize(), qreal(1.)); if (isValid()) { if (flow == QFxGridView::LeftToRight) q->setViewportHeight(endPosition() - startPosition()); |