diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-04-20 05:24:10 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-04-21 00:02:30 (GMT) |
commit | b65cfb07a5bdf9e4ea1ea6e652688824f7b5da15 (patch) | |
tree | b2f4ca5167839e5aee7d18b0bf442d8cf8726503 /tools/qml | |
parent | d5f5b9b5f3e21f1a75e52cc15dc8de2b1b72529f (diff) | |
download | Qt-b65cfb07a5bdf9e4ea1ea6e652688824f7b5da15.zip Qt-b65cfb07a5bdf9e4ea1ea6e652688824f7b5da15.tar.gz Qt-b65cfb07a5bdf9e4ea1ea6e652688824f7b5da15.tar.bz2 |
Visual test fix.
Diffstat (limited to 'tools/qml')
-rw-r--r-- | tools/qml/qdeclarativetester.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/qml/qdeclarativetester.cpp b/tools/qml/qdeclarativetester.cpp index 11fa22f..6a6048a 100644 --- a/tools/qml/qdeclarativetester.cpp +++ b/tools/qml/qdeclarativetester.cpp @@ -251,7 +251,8 @@ void QDeclarativeTester::updateCurrentTime(int msec) m_view->render(&p); } - bool snapshot = msec == 16 && options & QDeclarativeViewer::Snapshot; + bool snapshot = msec == 16 && (options & QDeclarativeViewer::Snapshot + || (testscript && testscript->count() == 2)); FrameEvent fe; fe.msec = msec; |