summaryrefslogtreecommitdiffstats
path: root/src/declarative
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2010-10-21 09:23:20 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2010-10-21 09:23:20 (GMT)
commit6018c6138018eb322ccdc8f34516e77ee43ed83d (patch)
tree29a27e922b996b06501dfbb31f7fa6cc6f5988c6 /src/declarative
parent4b191c8343698d41bad16278ca8c9cd2409bfc45 (diff)
downloadQt-6018c6138018eb322ccdc8f34516e77ee43ed83d.zip
Qt-6018c6138018eb322ccdc8f34516e77ee43ed83d.tar.gz
Qt-6018c6138018eb322ccdc8f34516e77ee43ed83d.tar.bz2
Remove unnecessary rounding
Task-number: QTBUG-13995
Diffstat (limited to 'src/declarative')
-rw-r--r--src/declarative/graphicsitems/qdeclarativeflickable.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeflickable.cpp b/src/declarative/graphicsitems/qdeclarativeflickable.cpp
index 57ce4ce..b737785 100644
--- a/src/declarative/graphicsitems/qdeclarativeflickable.cpp
+++ b/src/declarative/graphicsitems/qdeclarativeflickable.cpp
@@ -483,7 +483,6 @@ qreal QDeclarativeFlickable::contentX() const
void QDeclarativeFlickable::setContentX(qreal pos)
{
Q_D(QDeclarativeFlickable);
- pos = qRound(pos);
d->timeline.reset(d->hData.move);
d->vTime = d->timeline.time();
movementXEnding();
@@ -502,7 +501,6 @@ qreal QDeclarativeFlickable::contentY() const
void QDeclarativeFlickable::setContentY(qreal pos)
{
Q_D(QDeclarativeFlickable);
- pos = qRound(pos);
d->timeline.reset(d->vData.move);
d->vTime = d->timeline.time();
movementYEnding();