summaryrefslogtreecommitdiffstats
path: root/tools/qml
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2011-07-26 09:42:46 +1000
committerMichael Brasser <michael.brasser@nokia.com>2011-07-26 11:16:58 +1000
commit8ef0e62055a2c98637e0b7423feda3ebca7983f4 (patch)
tree9e33238141c08c44acfe2e9b1bb41240ae066ab7 /tools/qml
parent885ee642fb1342467d749f8a4bcafb8fbe6f0893 (diff)
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 4b0f2d5159..f9961bccb4 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()