diff options
author | Caroline Chao <caroline.chao@nokia.com> | 2012-02-07 12:35:58 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-08 15:03:25 +0100 |
commit | 9df2da5b9feab42d93548db701fc7f649fd362ab (patch) | |
tree | ec8233b3dd9f6efa5384b690215dead88e5abfbc /src | |
parent | eb1d856210c51fbbed32b0071a3c948e9feac264 (diff) |
CodeCoverage: Fix wrong type passed to saveCoverageTool.
Passing a bool as appropriate.
Change-Id: I0dcca8d30c6d75e7fcddcf7047e1dd1c572ec6ea
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/qmltest/quicktest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmltest/quicktest.cpp b/src/qmltest/quicktest.cpp index 28033785ba..b1b9897edd 100644 --- a/src/qmltest/quicktest.cpp +++ b/src/qmltest/quicktest.cpp @@ -337,7 +337,7 @@ int quick_test_main(int argc, char **argv, const char *name, quick_test_viewport // Flush the current logging stream. QuickTestResult::setProgramName(0); - saveCoverageTool(argv[0], QuickTestResult::exitCode()); + saveCoverageTool(argv[0], QuickTestResult::exitCode() != 0); //Sometimes delete app cause crash here with some qpa plugins, //so we comment the follow line out to make them happy. |