summaryrefslogtreecommitdiffstats
path: root/src/gui/util/qscroller.cpp
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2011-05-06 07:34:56 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2011-05-06 07:34:56 (GMT)
commitc21312c60231b3958981c72e6a190cba381b5720 (patch)
treeab5d96bd1299f426547e4845040f165bfd876fad /src/gui/util/qscroller.cpp
parent2d8852d51b15ed48e8e665882b5d70c298201299 (diff)
parentb81e1b76231dfe41de1857e87d4f6bf918c609a6 (diff)
downloadQt-c21312c60231b3958981c72e6a190cba381b5720.zip
Qt-c21312c60231b3958981c72e6a190cba381b5720.tar.gz
Qt-c21312c60231b3958981c72e6a190cba381b5720.tar.bz2
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qt-fire-team
* 'master' of git://scm.dev.nokia.troll.no/qt/qt-fire-team: (143 commits) QSslConfiguration documentation fix Remove misspelled comment in tst_qtextdocument.cpp Only enable design metrics for scalable fonts Add a way to retrieve CTFontRef from QFont Ensure that QDateTimeEdit::calendarWidget() will always return a valid widget. don't crash in QProcessEnvironment::systemEnvironment() HTTP auto tests: do not load resources from cache that must be revalidtd HTTP cache backend: do not load resources that must be revalidated HTTP backend: do not load resources from cache that must be revalidated Compile fix for QLocale on Symbian. Added Kazakh language to the QLocale mapping table on Symbian. Added support for QLocale::uiLanguages on Symbian. QNAM HTTP: Fix bug with explicitly zero-length compressed responses. Include pixel size of font in exported HTML from QTextDocument Fix drawing text in item view: Add enablers for Symbian App Booster Don't rely on uninitialized data Don't realloc user-provided buffer qmake: Introduce new template type Fix the autotest condition. ...
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;