From 8ed6c62dc76ebc2e510ecc028c34c160018af86c Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Mon, 10 Mar 2014 19:58:05 +0100 Subject: Cleanup our runtime methods Move all our runtime methods into the QV4::Runtime struct and give them nicer names without underscores. Sort them logically and remove a few unused methods. Change-Id: Ib69b71764ff194d0ba211aac581f9a99734d8180 Reviewed-by: Simon Hausmann --- src/qml/jsruntime/qv4string.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qml/jsruntime/qv4string.cpp') diff --git a/src/qml/jsruntime/qv4string.cpp b/src/qml/jsruntime/qv4string.cpp index 3d0328dfcf..1c915914b5 100644 --- a/src/qml/jsruntime/qv4string.cpp +++ b/src/qml/jsruntime/qv4string.cpp @@ -285,7 +285,7 @@ uint String::toUInt(bool *ok) const return stringHash; // ### this conversion shouldn't be required - double d = __qmljs_string_to_number(toQString()); + double d = RuntimeHelpers::stringToNumber(toQString()); uint l = (uint)d; if (d == l) return l; -- cgit v1.2.3