summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtestcase.cpp
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-12-15 15:03:08 +1000
committerQt by Nokia <qt-info@nokia.com>2011-12-16 02:43:46 +0100
commit8c2727ac182ccc6ef46054c4a09a1c7ad3c8374e (patch)
tree7cf46fb7be0fb06a4dec8b5742dcc5f6cf109ee4 /src/testlib/qtestcase.cpp
parent6506e0a6eec67985432427c630b148e825184c5d (diff)
Switch off signal dumper when testing is completed.
Previously, if the signal dumper was switched on with the -vs command-line switch, it would never be switched off again. Change-Id: I192e188010471525723fad0844ff33e9482128ea Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'src/testlib/qtestcase.cpp')
-rw-r--r--src/testlib/qtestcase.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/testlib/qtestcase.cpp b/src/testlib/qtestcase.cpp
index 8cde1118e6..2180dc4294 100644
--- a/src/testlib/qtestcase.cpp
+++ b/src/testlib/qtestcase.cpp
@@ -1991,6 +1991,9 @@ int QTest::qExec(QObject *testObject, int argc, char **argv)
#endif
currentTestObject = 0;
+
+ QSignalDumper::endDump();
+
#ifdef Q_WS_MAC
if (macNeedsActivate) {
IOPMAssertionRelease(powerID);