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