diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2010-10-21 09:23:20 (GMT) |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2010-10-21 09:23:20 (GMT) |
commit | 6018c6138018eb322ccdc8f34516e77ee43ed83d (patch) | |
tree | 29a27e922b996b06501dfbb31f7fa6cc6f5988c6 /src/declarative | |
parent | 4b191c8343698d41bad16278ca8c9cd2409bfc45 (diff) | |
download | Qt-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.cpp | 2 |
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(); |