summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2010-10-18 06:52:27 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2010-10-19 23:37:12 (GMT)
commit9b959c78404dcc1263834f2cfe6a1f199420df30 (patch)
tree918fe6d1dabba6b9de20ffa9a033b962bdae7669
parent70f7a6e7ebec1fca9087fde56ce9961f34a52dc5 (diff)
downloadQt-9b959c78404dcc1263834f2cfe6a1f199420df30.zip
Qt-9b959c78404dcc1263834f2cfe6a1f199420df30.tar.gz
Qt-9b959c78404dcc1263834f2cfe6a1f199420df30.tar.bz2
Fix recording of visual tests.
-rw-r--r--tools/qml/qmlruntime.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/qml/qmlruntime.cpp b/tools/qml/qmlruntime.cpp
index 9f9eba0..78bc409 100644
--- a/tools/qml/qmlruntime.cpp
+++ b/tools/qml/qmlruntime.cpp
@@ -1383,6 +1383,8 @@ void QDeclarativeViewer::appAboutToQuit()
// avoid crashes if messages are received after app has closed
delete loggerWindow;
loggerWindow = 0;
+ delete tester;
+ tester = 0;
}
void QDeclarativeViewer::autoStartRecording()