diff options
author | Christian Stenger <christian.stenger@theqtcompany.com> | 2015-01-21 11:03:50 +0100 |
---|---|---|
committer | Christian Stenger <christian.stenger@theqtcompany.com> | 2015-01-21 14:48:01 +0200 |
commit | 41208f66aa50caf52e3b69797b7db498a45ded49 (patch) | |
tree | 7566434617ee929799451e8f3213f8ee9e3e14ac | |
parent | 6571c85f3d6c3a3f7eb1ff982b1e4df92293e156 (diff) | |
download | qt-creator-41208f66aa50caf52e3b69797b7db498a45ded49.tar.gz |
Re-enable printing of NAN for execution time
Change-Id: I50bfd95808c90a30501bdf32f484dd035cc2f30b
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
-rw-r--r-- | plugins/autotest/testxmloutputreader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/autotest/testxmloutputreader.cpp b/plugins/autotest/testxmloutputreader.cpp index 10b6ed02b9..193b716a26 100644 --- a/plugins/autotest/testxmloutputreader.cpp +++ b/plugins/autotest/testxmloutputreader.cpp @@ -69,8 +69,8 @@ static bool xmlExtractTypeFileLine(const QString &code, const QString &tagStart, static QString formatResult(double value) { //NAN is not supported with visual studio 2010 -// if (value < 0 || value == NAN) -// return QLatin1String("NAN"); + if (value < 0)// || value == NAN) + return QLatin1String("NAN"); if (value == 0) return QLatin1String("0"); |