aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2/qquickswipedelegate.cpp
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2016-10-03 10:06:56 +0200
committerMitch Curtis <mitch.curtis@qt.io>2016-10-06 14:43:44 +0000
commit176ec0be1dee531461f13f55a945ae0ebc69397f (patch)
tree9872a880fb5dad5af38eac7f2f3bade4577ce5e7 /src/quicktemplates2/qquickswipedelegate.cpp
parent78179e8b77fddbc6f017e5007fe157425a8eb6e4 (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/qquickswipedelegate.cpp')
-rw-r--r--src/quicktemplates2/qquickswipedelegate.cpp2
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) {