aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2017-03-02 10:13:44 +0100
committerMitch Curtis <mitch.curtis@qt.io>2017-03-02 09:22:57 +0000
commiteb082fe715e23f55d24b3cf7528857167831f578 (patch)
tree68e82c6730540348e30acf9ad28ac354e92b3d12 /tests
parenta19ab6806043591abf94868de6962a3747284da7 (diff)
Fix Button GIF
The background didn't show up unless setHighQuality(true) was used. Task-number: QTBUG-59233 Change-Id: Ief04c48b7c82d5c6be2e63de5c515cdf763a2064 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/manual/gifs/tst_gifs.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/manual/gifs/tst_gifs.cpp b/tests/manual/gifs/tst_gifs.cpp
index a665a678..2a7d55bd 100644
--- a/tests/manual/gifs/tst_gifs.cpp
+++ b/tests/manual/gifs/tst_gifs.cpp
@@ -416,6 +416,8 @@ void tst_Gifs::button()
gifRecorder.setOutputDir(outputDir);
gifRecorder.setRecordingDuration(3);
gifRecorder.setQmlFileName(qmlFileName);
+ // Seems to be necessary to show the Default button background.
+ gifRecorder.setHighQuality(true);
gifRecorder.start();