diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2020-09-04 16:53:42 +0200 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2020-09-07 14:55:09 +0200 |
commit | 613ec309c1456783ef3a5e29532bdbce06e91a49 (patch) | |
tree | 6aee59750d9a996d82ed1475514c59af3ae00f28 /tests/auto | |
parent | 52ae6b1a506bea501ac7db424edddfa18383d20a (diff) | |
parent | aad71282b241402be356531804fede4b43ee5659 (diff) |
Merge "Merge remote-tracking branch 'nativestyle' into dev"
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/controls/data/tst_switch.qml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/controls/data/tst_switch.qml b/tests/auto/controls/data/tst_switch.qml index 876af1ba..9050964f 100644 --- a/tests/auto/controls/data/tst_switch.qml +++ b/tests/auto/controls/data/tst_switch.qml @@ -606,6 +606,7 @@ TestCase { verify(!control.activeFocus) mouseClick(control.indicator) - verify(control.activeFocus) + // should not get activeFocus on mouseClick on macOS + compare(control.activeFocus, Qt.platform.os !== "osx" && Qt.platform.os !== "macos") } } |