Remove references to nonexistent QLocale::setDefaultLocale() in docs.
Should be QLocale::setDefault(). Task-number: QTBUG-23210 Change-Id: I0f5e6cc431f568c9b8c4be1411b7b47835304d0b Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com> Reviewed-by: Jerome Pasion <jerome.pasion@nokia.com>
This commit is contained in:
parent
15f041e6d5
commit
044645ead6
@ -646,7 +646,7 @@ QLocale::QLocale(const QString &name)
|
||||
|
||||
/*!
|
||||
Constructs a QLocale object initialized with the default locale. If
|
||||
no default locale was set using setDefaultLocale(), this locale will
|
||||
no default locale was set using setDefault(), this locale will
|
||||
be the same as the one returned by system().
|
||||
|
||||
\sa setDefault()
|
||||
|
@ -7104,7 +7104,7 @@ QString QString::arg(char a, int fieldWidth, QChar fillChar) const
|
||||
|
||||
The '%' can be followed by an 'L', in which case the sequence is
|
||||
replaced with a localized representation of \a a. The conversion
|
||||
uses the default locale, set by QLocale::setDefaultLocale(). If no
|
||||
uses the default locale, set by QLocale::setDefault(). If no
|
||||
default locale was specified, the "C" locale is used.
|
||||
|
||||
If \a fillChar is '0' (the number 0, ASCII 48), this function will
|
||||
|
Loading…
Reference in New Issue
Block a user