From 0dfc617e4d089f7513573673d12f9678a88d3081 Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Mon, 18 Feb 2019 10:20:36 +0100 Subject: Doc: Fix incorrect link to Number.toLocaleString() Task-number: QTBUG-73849 Change-Id: I02b32f55fabc6274a071536234dd485bf4e9bd02 Reviewed-by: Venugopal Shivashankar Reviewed-by: Nico Vertriest --- src/quicktemplates2/qquickspinbox.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/quicktemplates2/qquickspinbox.cpp b/src/quicktemplates2/qquickspinbox.cpp index 7f4f59fa..6af1d8e8 100644 --- a/src/quicktemplates2/qquickspinbox.cpp +++ b/src/quicktemplates2/qquickspinbox.cpp @@ -629,7 +629,8 @@ void QQuickSpinBox::setValidator(QValidator *validator) is the value to be converted, and the optional second argument is the locale that should be used for the conversion, if applicable. - The default implementation does the conversion using \l {QtQml::Locale}{Number.toLocaleString()}: + The default implementation does the conversion using + \l {QtQml::Number::toLocaleString()}{Number.toLocaleString}(): \code textFromValue: function(value, locale) { return Number(value).toLocaleString(locale, 'f', 0); } -- cgit v1.2.3