diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2009-11-06 00:01:44 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2009-11-06 00:01:44 (GMT) |
commit | 4ad04d20d69ed0d8903c2d6d2f91dfd40f7e13a4 (patch) | |
tree | 11c11797a6ab54228f0a694e6b0a608652f8ae51 /tools | |
parent | f3bd54db65b88560a079ee19bfebb3f17004bef3 (diff) | |
download | Qt-4ad04d20d69ed0d8903c2d6d2f91dfd40f7e13a4.zip Qt-4ad04d20d69ed0d8903c2d6d2f91dfd40f7e13a4.tar.gz Qt-4ad04d20d69ed0d8903c2d6d2f91dfd40f7e13a4.tar.bz2 |
Make tests with transparent QML reproducible.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/qmlviewer/qfxtester.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/qmlviewer/qfxtester.cpp b/tools/qmlviewer/qfxtester.cpp index 802a927..5484771 100644 --- a/tools/qmlviewer/qfxtester.cpp +++ b/tools/qmlviewer/qfxtester.cpp @@ -248,6 +248,7 @@ void QmlGraphicsTester::updateCurrentTime(int msec) QImage img(m_view->width(), m_view->height(), QImage::Format_RGB32); if (options & QmlViewer::TestImages) { + img.fill(qRgb(255,255,255)); QPainter p(&img); m_view->render(&p); } |