aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/util
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2012-07-26 09:53:03 +0200
committerQt by Nokia <qt-info@nokia.com>2012-07-26 12:48:24 +0200
commit4dcd5ae1e27252755a51dec139269bc4f998adb4 (patch)
tree515ff501f5f44d4d4a6f17c0d2514235498ea442 /src/quick/util
parentfcf9a6d7fbf44dc7f1d489c7682405e166c65b19 (diff)
Remove obsolete Q_WS_QWS.
Change-Id: I41e1440ff64eafc8729701aea11292f12e3bbe8c Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/quick/util')
-rw-r--r--src/quick/util/qquicksvgparser.cpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/quick/util/qquicksvgparser.cpp b/src/quick/util/qquicksvgparser.cpp
index 6a1b743160..9acec4c0f0 100644
--- a/src/quick/util/qquicksvgparser.cpp
+++ b/src/quick/util/qquicksvgparser.cpp
@@ -129,15 +129,8 @@ static qreal toDouble(const QChar *&str)
if (neg)
val = -val;
} else {
-#if defined(Q_WS_QWS) && !defined(Q_OS_VXWORKS)
- if(sizeof(qreal) == sizeof(float))
- val = strtof(temp, 0);
- else
-#endif
- {
- bool ok = false;
- val = qstrtod(temp, 0, &ok);
- }
+ bool ok = false;
+ val = qstrtod(temp, 0, &ok);
}
return val;