summaryrefslogtreecommitdiffstats
path: root/tools/qmlviewer/qmlviewer.cpp
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-09-24 04:13:15 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-09-24 04:18:58 (GMT)
commita1c1ff8561e8aefe4b4d09af1273bcb98c192772 (patch)
tree822b629abfce43ca3a068c3850a138f529f2180c /tools/qmlviewer/qmlviewer.cpp
parent09b117a97edd0791fb2c30f7a73704c926327ba3 (diff)
downloadQt-a1c1ff8561e8aefe4b4d09af1273bcb98c192772.zip
Qt-a1c1ff8561e8aefe4b4d09af1273bcb98c192772.tar.gz
Qt-a1c1ff8561e8aefe4b4d09af1273bcb98c192772.tar.bz2
Update visual autotests and visual autotest infrastructure
Diffstat (limited to 'tools/qmlviewer/qmlviewer.cpp')
-rw-r--r--tools/qmlviewer/qmlviewer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/qmlviewer/qmlviewer.cpp b/tools/qmlviewer/qmlviewer.cpp
index 11d0ef0..49b91af 100644
--- a/tools/qmlviewer/qmlviewer.cpp
+++ b/tools/qmlviewer/qmlviewer.cpp
@@ -785,9 +785,9 @@ void QmlViewer::keyPressEvent(QKeyEvent *event)
<< "F9 - toggle video recording\n"
<< "device keys: 0=quit, 1..8=F1..F8"
;
- } else if (event->key() == Qt::Key_F2 || (event->key() == Qt::Key_3 && devicemode)) {
+ } else if (event->key() == Qt::Key_F2 || (event->key() == Qt::Key_2 && devicemode)) {
if (tester && m_scriptOptions & Record)
- tester->save(m_script);
+ tester->save();
} else if (event->key() == Qt::Key_F3 || (event->key() == Qt::Key_3 && devicemode)) {
takeSnapShot();
} else if (event->key() == Qt::Key_F5 || (event->key() == Qt::Key_5 && devicemode)) {