diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2016-10-03 10:06:56 +0200 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2016-10-06 14:43:44 +0000 |
commit | 176ec0be1dee531461f13f55a945ae0ebc69397f (patch) | |
tree | 9872a880fb5dad5af38eac7f2f3bade4577ce5e7 /src/quicktemplates2 | |
parent | 78179e8b77fddbc6f017e5007fe157425a8eb6e4 (diff) |
SwipeDelegate: fix comment referring to code that has since been moved
Change-Id: I2d4fbb65a151a62c32a1cf1b7907bdbf4e4ae2d6
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src/quicktemplates2')
-rw-r--r-- | src/quicktemplates2/qquickswipedelegate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quicktemplates2/qquickswipedelegate.cpp b/src/quicktemplates2/qquickswipedelegate.cpp index ae7a7d90..fcdb9a7a 100644 --- a/src/quicktemplates2/qquickswipedelegate.cpp +++ b/src/quicktemplates2/qquickswipedelegate.cpp @@ -607,7 +607,7 @@ bool QQuickSwipeDelegatePrivate::handleMouseMoveEvent(QQuickItem *item, QMouseEv const qreal distance = (event->pos() - pressPoint).x(); if (!q->keepMouseGrab()) { - // Taken from QQuickDrawer::handleMouseMoveEvent; see comments there. + // Taken from QQuickDrawerPrivate::grabMouse; see comments there. int threshold = qMax(20, QGuiApplication::styleHints()->startDragDistance() + 5); const bool overThreshold = QQuickWindowPrivate::dragOverThreshold(distance, Qt::XAxis, event, threshold); if (window && overThreshold) { |