aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/controls/data/tst_textarea.qml
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2020-10-02 10:11:17 +0200
committerMitch Curtis <mitch.curtis@qt.io>2020-10-02 10:16:20 +0200
commitcd669f1f216e54fa59eee77459d608a41f5df290 (patch)
treebe095fc5a6e32ac6735bb80532d01a24523e6108 /tests/auto/controls/data/tst_textarea.qml
parent96828a94468c18a195a0ee718448aa81d5bb88c4 (diff)
Ensure we pass coordinates to mouseMove()v6.0.0-alpha1
Unlike the other functions, the x and y parameters do not currently default to the center of the control if unspecified. Change-Id: Ie6c5945c0b43f1ef0d79e76a96da18ea102a50e2 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'tests/auto/controls/data/tst_textarea.qml')
-rw-r--r--tests/auto/controls/data/tst_textarea.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/controls/data/tst_textarea.qml b/tests/auto/controls/data/tst_textarea.qml
index 653e7ad5..7f0b52fc 100644
--- a/tests/auto/controls/data/tst_textarea.qml
+++ b/tests/auto/controls/data/tst_textarea.qml
@@ -369,7 +369,7 @@ TestCase {
compare(control.hovered, false)
- mouseMove(control)
+ mouseMove(control, control.width / 2, control.height / 2)
compare(control.hovered, data.hoverEnabled)
mouseMove(control, -1, -1)