summaryrefslogtreecommitdiffstats
path: root/src/gui/util/qscroller.cpp
diff options
context:
space:
mode:
authoraavit <qt-info@nokia.com>2011-05-06 07:30:14 (GMT)
committeraavit <qt-info@nokia.com>2011-05-06 07:30:14 (GMT)
commitb81e1b76231dfe41de1857e87d4f6bf918c609a6 (patch)
treeab5d96bd1299f426547e4845040f165bfd876fad /src/gui/util/qscroller.cpp
parent7ac511d8d906575dff1a02361e31251b244d3b3a (diff)
parent1d9a18142eb19d5dde93b7e5c63f9be0e4caf896 (diff)
downloadQt-b81e1b76231dfe41de1857e87d4f6bf918c609a6.zip
Qt-b81e1b76231dfe41de1857e87d4f6bf918c609a6.tar.gz
Qt-b81e1b76231dfe41de1857e87d4f6bf918c609a6.tar.bz2
Merge remote branch 'qt-mainline/4.8'
Diffstat (limited to 'src/gui/util/qscroller.cpp')
-rw-r--r--src/gui/util/qscroller.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gui/util/qscroller.cpp b/src/gui/util/qscroller.cpp
index db128c1..870d56f 100644
--- a/src/gui/util/qscroller.cpp
+++ b/src/gui/util/qscroller.cpp
@@ -1777,10 +1777,7 @@ void QScrollerPrivate::setState(QScroller::State newstate)
*/
void QScrollerPrivate::setContentPositionHelperDragging(const QPointF &deltaPos)
{
- Q_Q(QScroller);
- QPointF ppm = q->pixelPerMeter();
const QScrollerPropertiesPrivate *sp = properties.d.data();
- QPointF v = q->velocity();
if (sp->overshootDragResistanceFactor)
overshootPosition /= sp->overshootDragResistanceFactor;