summaryrefslogtreecommitdiffstats
path: root/tools/qml
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2011-07-25 23:42:46 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2011-07-26 01:16:58 (GMT)
commit8ef0e62055a2c98637e0b7423feda3ebca7983f4 (patch)
tree9e33238141c08c44acfe2e9b1bb41240ae066ab7 /tools/qml
parent885ee642fb1342467d749f8a4bcafb8fbe6f0893 (diff)
downloadQt-8ef0e62055a2c98637e0b7423feda3ebca7983f4.zip
Qt-8ef0e62055a2c98637e0b7423feda3ebca7983f4.tar.gz
Qt-8ef0e62055a2c98637e0b7423feda3ebca7983f4.tar.bz2
Cleanup QMLViewer properly when exiting via File->Quit.
Change-Id: I7a20d46f753f5caa809e3150e44a58f4af55a506 Task-number: QTBUG-14972 Reviewed-by: Charles Yin
Diffstat (limited to 'tools/qml')
-rw-r--r--tools/qml/qmlruntime.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/qml/qmlruntime.cpp b/tools/qml/qmlruntime.cpp
index 4b0f2d5..f9961bc 100644
--- a/tools/qml/qmlruntime.cpp
+++ b/tools/qml/qmlruntime.cpp
@@ -1393,6 +1393,7 @@ void QDeclarativeViewer::appAboutToQuit()
loggerWindow = 0;
delete tester;
tester = 0;
+ close();
}
void QDeclarativeViewer::autoStartRecording()