aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickmousearea
diff options
context:
space:
mode:
authorAndrew den Exter <andrew.den.exter@jollamobile.com>2013-02-16 17:21:28 +1000
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-02-22 10:03:20 +0100
commit6ad4a61d482d895d135a7a281115bf104e0b9a90 (patch)
tree29bc2ffc39092105efde3c21c3fa45f9187301ed /tests/auto/quick/qquickmousearea
parent7a1282a9edd8afa4645d7d449ca2ed3746fb8d71 (diff)
Flickable shouldn't grab the mouse until it starts an effective move.
If the boundBehavior prevents the flickable from moving its content item in response to a drag it shouldn't grab the mouse as that will prevent a parent MouseArea or Flickable from handling the drag. Task-number: QTBUG-29718 Change-Id: I3a1be4ed0132b91dca2fb0387ecefd39275a52da Reviewed-by: Alan Alpert <aalpert@rim.com>
Diffstat (limited to 'tests/auto/quick/qquickmousearea')
-rw-r--r--tests/auto/quick/qquickmousearea/tst_qquickmousearea.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/quick/qquickmousearea/tst_qquickmousearea.cpp b/tests/auto/quick/qquickmousearea/tst_qquickmousearea.cpp
index ef7dc72345..327abbebd5 100644
--- a/tests/auto/quick/qquickmousearea/tst_qquickmousearea.cpp
+++ b/tests/auto/quick/qquickmousearea/tst_qquickmousearea.cpp
@@ -805,8 +805,8 @@ void tst_QQuickMouseArea::preventStealing()
// Flickable content should have moved.
- QCOMPARE(flickable->contentX(), 11.);
- QCOMPARE(flickable->contentY(), 11.);
+ QCOMPARE(flickable->contentX(), 22.);
+ QCOMPARE(flickable->contentY(), 22.);
QTest::mouseRelease(window, Qt::LeftButton, 0, QPoint(50, 50));