diff options
author | Topi Reinio <topi.reinio@qt.io> | 2019-02-18 10:20:36 +0100 |
---|---|---|
committer | Topi Reiniƶ <topi.reinio@qt.io> | 2019-02-19 12:30:48 +0000 |
commit | 0dfc617e4d089f7513573673d12f9678a88d3081 (patch) | |
tree | 9f2c0873b0291afdcfc02238f888c462f544eecb /src/quicktemplates2 | |
parent | f14fa8b42c2d09afbc27209ffc520dfaf6dbc4d7 (diff) |
Doc: Fix incorrect link to Number.toLocaleString()
Task-number: QTBUG-73849
Change-Id: I02b32f55fabc6274a071536234dd485bf4e9bd02
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
Reviewed-by: Nico Vertriest <nico.vertriest@qt.io>
Diffstat (limited to 'src/quicktemplates2')
-rw-r--r-- | src/quicktemplates2/qquickspinbox.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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); } |