aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2021-06-16 21:05:55 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-06-16 20:46:48 +0000
commit295ead1a0a74c3699349af36f646030891403b26 (patch)
treeba3a80116d65b17221abf3e5a6dd5cb0d273b15b /tests
parent25d042118a2284ae61ed3acc072a9b093b650a0b (diff)
Fix tst_palette by setting inactive color group
Same colors as active, so that the binding test passes without having to wait for the window to become active. That's not what that test cares about. Fixes: QTBUG-94553 Change-Id: I7b3cfb16ff6f64703faee0b2c90183af831390e5 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit 0e81c6d985a950f5be001acd445a77ec3432bf90) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/palette/data/bindings.qml5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/palette/data/bindings.qml b/tests/auto/palette/data/bindings.qml
index 5f156c96f1..215fb03497 100644
--- a/tests/auto/palette/data/bindings.qml
+++ b/tests/auto/palette/data/bindings.qml
@@ -69,6 +69,11 @@ ApplicationWindow {
buttonText: "bisque"
}
+ inactive {
+ button: "khaki"
+ buttonText: "bisque"
+ }
+
disabled {
buttonText: "lavender"
button: "coral"