aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2017-01-27 13:00:15 +0100
committerJ-P Nurmi <jpnurmi@qt.io>2017-01-27 13:37:50 +0000
commit4aadcdae61c205b6daad75fb002166cd278c2914 (patch)
tree5f772d8c01fd4d0108e6839fc9ef2fbfaecb4e04 /tests
parentb026ebf67a95c6bca186e69e6e71b6fb70b4eeb3 (diff)
Default QQuickDial::live to true
[ChangeLog][Important Behavior Changes] On a popular demand, Dial has been changed to report live value updates. This can be disabled by setting Dial::live to false. Change-Id: Ie591ec33f56482b825250f64abf55118afec3e6b Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/controls/data/tst_dial.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/controls/data/tst_dial.qml b/tests/auto/controls/data/tst_dial.qml
index 0281b8bc..2e87acbf 100644
--- a/tests/auto/controls/data/tst_dial.qml
+++ b/tests/auto/controls/data/tst_dial.qml
@@ -474,7 +474,7 @@ TestCase {
}
function test_snapMode_mouse(data) {
- var dial = createTemporaryObject(dialComponent, testCase);
+ var dial = createTemporaryObject(dialComponent, testCase, {live: false});
verify(dial);
dial.snapMode = data.snapMode;
@@ -502,7 +502,7 @@ TestCase {
}
function test_snapMode_touch(data) {
- var dial = createTemporaryObject(dialComponent, testCase);
+ var dial = createTemporaryObject(dialComponent, testCase, {live: false});
verify(dial);
dial.snapMode = data.snapMode;