diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2011-03-28 12:53:46 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2011-03-28 13:59:00 (GMT) |
commit | 869a1c838ec58051f355552435049b58c6fbe354 (patch) | |
tree | 0ade6166dd12695edf311a5728dead8996b92a9a /src/corelib/tools/qlocale.h | |
parent | 0ee221b374ffef3657247be4c78e05689e04bef7 (diff) | |
download | Qt-869a1c838ec58051f355552435049b58c6fbe354.zip Qt-869a1c838ec58051f355552435049b58c6fbe354.tar.gz Qt-869a1c838ec58051f355552435049b58c6fbe354.tar.bz2 |
Changed the return value of QLocale::matchingLocales().
Instead of returning a QStringList, return the list of QLocale objects
that can be used directly.
Reviewed-by: axis
Diffstat (limited to 'src/corelib/tools/qlocale.h')
-rw-r--r-- | src/corelib/tools/qlocale.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qlocale.h b/src/corelib/tools/qlocale.h index ecb608e..4ac7630 100644 --- a/src/corelib/tools/qlocale.h +++ b/src/corelib/tools/qlocale.h @@ -743,7 +743,7 @@ public: static QLocale c() { return QLocale(C); } static QLocale system(); - static QStringList matchingLocales(QLocale::Language language, QLocale::Script script, QLocale::Country country); + static QList<QLocale> matchingLocales(QLocale::Language language, QLocale::Script script, QLocale::Country country); static QList<Country> countriesForLanguage(Language lang); void setNumberOptions(NumberOptions options); |