projects
/
konrad/qtdeclarative.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
eb1d856
)
CodeCoverage: Fix wrong type passed to saveCoverageTool.
author
Caroline Chao
<caroline.chao@nokia.com>
Tue, 7 Feb 2012 11:35:58 +0000 (12:35 +0100)
committer
Qt by Nokia
<qt-info@nokia.com>
Wed, 8 Feb 2012 14:03:25 +0000 (15:03 +0100)
Passing a bool as appropriate.
Change-Id: I0dcca8d30c6d75e7fcddcf7047e1dd1c572ec6ea
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
src/qmltest/quicktest.cpp
patch
|
blob
|
history
diff --git
a/src/qmltest/quicktest.cpp
b/src/qmltest/quicktest.cpp
index
2803378
..
b1b9897
100644
(file)
--- 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.