diff options
author | Caroline Chao <caroline.chao@digia.com> | 2013-03-27 13:13:30 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-04-05 07:52:18 +0200 |
commit | 73131271ffb54abb416791ae2dcc1bf9afb4715e (patch) | |
tree | 0314516bc8c0dbe8447a8d8b1d79cdf4806a1329 /src/imports | |
parent | a9ebbe770a4d26dfebfd1f33133cb54cd211d49c (diff) |
TestLib: add mouse release at the end of a mouseDrag
Change-Id: I901f23a2bc7089784ed644a53a3712669b21f417
Reviewed-by: Alan Alpert <aalpert@blackberry.com>
Diffstat (limited to 'src/imports')
-rw-r--r-- | src/imports/testlib/TestCase.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/imports/testlib/TestCase.qml b/src/imports/testlib/TestCase.qml index f774a46d5d..3df85b415a 100644 --- a/src/imports/testlib/TestCase.qml +++ b/src/imports/testlib/TestCase.qml @@ -430,6 +430,7 @@ Item { //trigger dragging mouseMove(item, x + util.dragThreshold + 1, y + util.dragThreshold + 1, delay, button) mouseMove(item, x + dx, y + dy, delay, button) + mouseRelease(item, x + dx, y + dy, button, modifiers, delay) } function mouseClick(item, x, y, button, modifiers, delay) { |