diff options
Diffstat (limited to 'tools/qmlviewer/qfxtester.cpp')
-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); } |