summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@nokia.com>2012-07-24 10:32:55 +0200
committerQt by Nokia <qt-info@nokia.com>2012-07-25 00:48:43 +0200
commit044645ead61de0797945505b9ab8a2d061c9f814 (patch)
tree5577eb5a7fdafbe517cf4836c10ea02057771423
parent15f041e6d580b518b317a40c8420e754b5e95ff8 (diff)
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>
-rw-r--r--src/corelib/tools/qlocale.cpp2
-rw-r--r--src/corelib/tools/qstring.cpp2
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