aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmltest
diff options
context:
space:
mode:
authorCharles Yin <charles.yin@nokia.com>2012-01-13 10:47:25 +1000
committerQt by Nokia <qt-info@nokia.com>2012-01-13 06:45:10 +0100
commitd9ecb7345c23cff097ea1a83a829673e220b400f (patch)
treeaf65efa1647ee4b192d7866524a1a16f9045e036 /src/qmltest
parent7e973ea4a883a3af8d9d4dab0e125e254305ff23 (diff)
Don't delete global app
Sometimes delete the global GUI app causes crash, this is a work around fix. Change-Id: Ic2406e7a085483de5d96321de8257663925b7e5e Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
Diffstat (limited to 'src/qmltest')
-rw-r--r--src/qmltest/quicktest.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/qmltest/quicktest.cpp b/src/qmltest/quicktest.cpp
index a1f06baa39..7ec4fc4aef 100644
--- a/src/qmltest/quicktest.cpp
+++ b/src/qmltest/quicktest.cpp
@@ -379,7 +379,10 @@ int quick_test_main(int argc, char **argv, const char *name, quick_test_viewport
saveCoverageTool(argv[0], QuickTestResult::exitCode());
- delete app;
+ //Sometimes delete app cause crash here with some qpa plugins,
+ //so we comment the follow line out to make them happy.
+ //delete app;
+
// Return the number of failures as the exit code.
return QuickTestResult::exitCode();
}