diff options
author | Liang Qi <liang.qi@nokia.com> | 2011-03-08 16:32:24 (GMT) |
---|---|---|
committer | Liang Qi <liang.qi@nokia.com> | 2011-03-08 16:32:24 (GMT) |
commit | 09fe2cd62df80373e602d47c570ae317a60a5293 (patch) | |
tree | 494689ed4f7ae7d75d938d851a18f382eb6ef464 /src/corelib/tools/qlocale_unix.cpp | |
parent | dc2280dbcd27d3ff9cbcb230943cc1036e8a2761 (diff) | |
download | Qt-09fe2cd62df80373e602d47c570ae317a60a5293.zip Qt-09fe2cd62df80373e602d47c570ae317a60a5293.tar.gz Qt-09fe2cd62df80373e602d47c570ae317a60a5293.tar.bz2 |
Using list patterns to get a string from list in QLocale.
Reviewed-by: Denis Dzyubenko
Task-number: QTBUG-17097
Diffstat (limited to 'src/corelib/tools/qlocale_unix.cpp')
-rw-r--r-- | src/corelib/tools/qlocale_unix.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/tools/qlocale_unix.cpp b/src/corelib/tools/qlocale_unix.cpp index 3701b2b..117e2e4 100644 --- a/src/corelib/tools/qlocale_unix.cpp +++ b/src/corelib/tools/qlocale_unix.cpp @@ -214,6 +214,8 @@ QVariant QSystemLocale::query(QueryType type, QVariant in) const return lc_messages.quoteString(in.value<QStringRef>()); case StringToAlternateQuotation: return lc_messages.quoteString(in.value<QStringRef>(), QLocale::AlternateQuotation); + case ListToSeparatedString: + return lc_messages.createSeparatedList(in.value<QStringList>()); default: break; } |