From 044645ead61de0797945505b9ab8a2d061c9f814 Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Tue, 24 Jul 2012 10:32:55 +0200 Subject: [PATCH] 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 --- src/corelib/tools/qlocale.cpp | 2 +- src/corelib/tools/qstring.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/corelib/tools/qlocale.cpp b/src/corelib/tools/qlocale.cpp index c5397cfddf..128ac5f4e8 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 5d824908f5..ff5e24dd85 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