From 73131271ffb54abb416791ae2dcc1bf9afb4715e Mon Sep 17 00:00:00 2001 From: Caroline Chao Date: Wed, 27 Mar 2013 13:13:30 +0100 Subject: [PATCH] TestLib: add mouse release at the end of a mouseDrag Change-Id: I901f23a2bc7089784ed644a53a3712669b21f417 Reviewed-by: Alan Alpert --- 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 f774a46..3df85b4 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) { -- 1.7.2.5