summaryrefslogtreecommitdiffstats
path: root/tools/qmlviewer
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-07-23 04:05:15 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-07-23 04:05:15 (GMT)
commit053cf70e8454cb612a1152777eecf71f12843abe (patch)
tree6dcfe178d894480339d8c6a6935a7da7c934bf02 /tools/qmlviewer
parent6f7b1c9270131d2a55218b14f3ec29cc553c8e2f (diff)
downloadQt-053cf70e8454cb612a1152777eecf71f12843abe.zip
Qt-053cf70e8454cb612a1152777eecf71f12843abe.tar.gz
Qt-053cf70e8454cb612a1152777eecf71f12843abe.tar.bz2
Don't try to record while constructing (size is wrong).
Diffstat (limited to 'tools/qmlviewer')
-rw-r--r--tools/qmlviewer/qmlviewer.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/tools/qmlviewer/qmlviewer.cpp b/tools/qmlviewer/qmlviewer.cpp
index 7844b5a..6e981de 100644
--- a/tools/qmlviewer/qmlviewer.cpp
+++ b/tools/qmlviewer/qmlviewer.cpp
@@ -480,12 +480,7 @@ void QmlViewer::setSkin(const QString& skinDirectory)
void QmlViewer::setAutoRecord(int from, int to)
{
record_autotime = to-from;
- if (from) {
- autoStartTimer.start(from,this);
- } else {
- autoTimer.start();
- setRecording(true);
- }
+ autoStartTimer.start(from,this);
}
void QmlViewer::setRecordArgs(const QStringList& a)