diff options
author | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2015-10-16 18:17:31 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2015-11-23 21:15:11 +0000 |
commit | c8b4e0ae14ce34f24e6900de52b781588f8988e3 (patch) | |
tree | 38d7317dbd7070de77abfc1376e4ed17bedee46d /src/qml/jsruntime/qv4numberobject_p.h | |
parent | 242067390f3bd891b162164a2d01a3a982c64fa2 (diff) |
Remove libdouble-conversion
We can use facilities in qtbase to convert doubles to strings now.
This also makes the fix to QTBUG-47070 obsolete.
Change-Id: I2f813164ff788b96281c3ffd37d8d2c65665de80
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/jsruntime/qv4numberobject_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4numberobject_p.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4numberobject_p.h b/src/qml/jsruntime/qv4numberobject_p.h index cc5033531e..bd6fe3febb 100644 --- a/src/qml/jsruntime/qv4numberobject_p.h +++ b/src/qml/jsruntime/qv4numberobject_p.h @@ -60,6 +60,15 @@ struct NumberCtor : FunctionObject { } +class NumberLocale : public QLocale +{ +public: + static const NumberLocale *instance(); + const int defaultDoublePrecision; +protected: + NumberLocale(); +}; + struct NumberCtor: FunctionObject { V4_OBJECT2(NumberCtor, FunctionObject) |