aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4numberobject_p.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2015-10-16 18:17:31 +0200
committerSimon Hausmann <simon.hausmann@theqtcompany.com>2015-11-23 21:15:11 +0000
commitc8b4e0ae14ce34f24e6900de52b781588f8988e3 (patch)
tree38d7317dbd7070de77abfc1376e4ed17bedee46d /src/qml/jsruntime/qv4numberobject_p.h
parent242067390f3bd891b162164a2d01a3a982c64fa2 (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.h9
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)