diff options
-rw-r--r-- | .qmake.conf | 2 | ||||
-rw-r--r-- | src/svg/qsvghandler.cpp | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/.qmake.conf b/.qmake.conf index 7fcbf65..fc13c75 100644 --- a/.qmake.conf +++ b/.qmake.conf @@ -2,4 +2,4 @@ load(qt_build_config) CONFIG += qt_example_installs CONFIG += warning_clean -MODULE_VERSION = 5.5.0 +MODULE_VERSION = 5.6.0 diff --git a/src/svg/qsvghandler.cpp b/src/svg/qsvghandler.cpp index 435e51a..6767cff 100644 --- a/src/svg/qsvghandler.cpp +++ b/src/svg/qsvghandler.cpp @@ -62,8 +62,6 @@ QT_BEGIN_NAMESPACE static const char *qt_inherit_text = "inherit"; #define QT_INHERIT QLatin1String(qt_inherit_text) -Q_CORE_EXPORT double qstrtod(const char *s00, char const **se, bool *ok); - // ======== duplicated from qcolor_p static inline int qsvg_h2i(char hex) @@ -626,8 +624,7 @@ static qreal toDouble(const QChar *&str) if (neg) val = -val; } else { - bool ok = false; - val = qstrtod(temp, 0, &ok); + val = QByteArray::fromRawData(temp, pos).toDouble(); } return val; |