From: Mitch Curtis Date: Tue, 24 Jul 2012 08:32:55 +0000 (+0200) Subject: Remove references to nonexistent QLocale::setDefaultLocale() in docs. X-Git-Tag: v5.0.0-beta1~625 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=044645ead61de0797945505b9ab8a2d061c9f814;p=profile%2Fivi%2Fqtbase.git Remove references to nonexistent QLocale::setDefaultLocale() in docs. Should be QLocale::setDefault(). Task-number: QTBUG-23210 Change-Id: I0f5e6cc431f568c9b8c4be1411b7b47835304d0b Reviewed-by: Stephen Kelly Reviewed-by: Jerome Pasion --- diff --git a/src/corelib/tools/qlocale.cpp b/src/corelib/tools/qlocale.cpp index c5397cf..128ac5f 100644 --- a/src/corelib/tools/qlocale.cpp +++ b/src/corelib/tools/qlocale.cpp @@ -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() diff --git a/src/corelib/tools/qstring.cpp b/src/corelib/tools/qstring.cpp index 5d82490..ff5e24d 100644 --- a/src/corelib/tools/qstring.cpp +++ b/src/corelib/tools/qstring.cpp @@ -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