diff options
author | Lars Knoll <lars.knoll@qt.io> | 2017-11-01 10:33:26 +0100 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2017-11-13 08:56:42 +0000 |
commit | 65b360a111f4b19bf1882d2a954a6ccdac7bde07 (patch) | |
tree | 86190931d2ddb7d2af763761e398f607537a721f /src/qml/qml/qqmllocale.cpp | |
parent | 3d3ce2afe1937531f5fdc2af56697e93133e6d98 (diff) |
Convert methods of Number to new calling convention
Change-Id: Ib4eea41bbf6db6ad555daae357c7010c736bbd50
Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
Diffstat (limited to 'src/qml/qml/qqmllocale.cpp')
-rw-r--r-- | src/qml/qml/qqmllocale.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmllocale.cpp b/src/qml/qml/qqmllocale.cpp index 7acc6fe66a..bbd4cec6f8 100644 --- a/src/qml/qml/qqmllocale.cpp +++ b/src/qml/qml/qqmllocale.cpp @@ -380,7 +380,7 @@ QV4::ReturnedValue QQmlNumberExtension::method_toLocaleString(const BuiltinFunct } if (!isLocaleObject(callData->args[0])) - return QV4::NumberPrototype::method_toLocaleString(b, callData); // Use the default Number toLocaleString() + return QV4::NumberPrototype::method_toLocaleString(b, &callData->thisObject, callData->args, callData->argc()); // Use the default Number toLocaleString() GET_LOCALE_DATA_RESOURCE(callData->args[0]); |