Remove references to nonexistent QLocale::setDefaultLocale() in docs.
authorMitch Curtis <mitch.curtis@nokia.com>
Tue, 24 Jul 2012 08:32:55 +0000 (10:32 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 24 Jul 2012 22:48:43 +0000 (00:48 +0200)
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>
src/corelib/tools/qlocale.cpp
src/corelib/tools/qstring.cpp

index c5397cf..128ac5f 100644 (file)
@@ -646,7 +646,7 @@ QLocale::QLocale(const QString &name)
 
 /*!
     Constructs a QLocale object initialized with the default locale. If
 
 /*!
     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()
     be the same as the one returned by system().
 
     \sa setDefault()
index 5d82490..ff5e24d 100644 (file)
@@ -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
 
   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
   default locale was specified, the "C" locale is used.
 
   If \a fillChar is '0' (the number 0, ASCII 48), this function will