diff options
author | Mitch Curtis <mitch.curtis@theqtcompany.com> | 2015-02-18 12:09:28 +0100 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@digia.com> | 2015-02-19 10:44:35 +0000 |
commit | d5ed16253a619511bf827df5a76ab61a3d64fdd2 (patch) | |
tree | 08d33892d90b2498ca46fad5e3f872233485a586 /tests/auto/extras | |
parent | 02168a09d09b9a6dff6071817ec89b1e7a477382 (diff) | |
download | qtquickcontrols-d5ed16253a619511bf827df5a76ab61a3d64fdd2.tar.gz |
Ensure Picture auto test background window is white.
Some grabImage-based color comparisons assume that white is the
background color, and seem to fail otherwise.
Change-Id: I9b355be50fcff24ec33e98df248a197117c97b41
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
Diffstat (limited to 'tests/auto/extras')
-rw-r--r-- | tests/auto/extras/data/tst_picture.qml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/extras/data/tst_picture.qml b/tests/auto/extras/data/tst_picture.qml index 3c3c4391..2715d1a5 100644 --- a/tests/auto/extras/data/tst_picture.qml +++ b/tests/auto/extras/data/tst_picture.qml @@ -47,6 +47,11 @@ TestCase { width: 400 height: 400 + Rectangle { + anchors.fill: parent + color: "white" + } + property var picture /* |