summaryrefslogtreecommitdiffstats
path: root/src/xmlpatterns/data/qabstractfloat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmlpatterns/data/qabstractfloat.cpp')
-rw-r--r--src/xmlpatterns/data/qabstractfloat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmlpatterns/data/qabstractfloat.cpp b/src/xmlpatterns/data/qabstractfloat.cpp
index c447928..473b8b0 100644
--- a/src/xmlpatterns/data/qabstractfloat.cpp
+++ b/src/xmlpatterns/data/qabstractfloat.cpp
@@ -186,7 +186,7 @@ QString AbstractFloat<isDouble>::stringValue() const
if(sign)
valueAsString += QLatin1Char('-');
- valueAsString += qret.left(1);
+ valueAsString += qret.at(0);
valueAsString += QLatin1Char('.');
if(1 == qret.size())