summaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorJosé Fonseca <jose.r.fonseca@gmail.com>2012-10-27 10:13:58 +0100
committerJosé Fonseca <jose.r.fonseca@gmail.com>2012-10-27 10:13:58 +0100
commit74936bb4e4a366278770787b641c23ab73a1bbeb (patch)
treec3ce6be39c52ee5d6e51a99f7f68c70b67bf4a2d /gui
parent0094c61568bff9f9dd7bafb711f111698e683831 (diff)
Always use bundled QJson.
In order to support NaN/Infite.
Diffstat (limited to 'gui')
-rw-r--r--gui/retracer.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/retracer.cpp b/gui/retracer.cpp
index 592c1a42..6d743f70 100644
--- a/gui/retracer.cpp
+++ b/gui/retracer.cpp
@@ -353,6 +353,9 @@ void Retracer::run()
bool ok = false;
QJson::Parser jsonParser;
+
+ // Allow Nan/Infinity
+ jsonParser.allowSpecialNumbers(true);
#if 0
parsedJson = jsonParser.parse(&io, &ok).toMap();
#else