summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2020-11-27 16:31:10 +0100
committerEdward Welbourne <edward.welbourne@qt.io>2020-12-04 15:09:47 +0100
commitc3ec3edb819dc3fde34c36a031f380e2de59eb01 (patch)
tree1587a15c438d57a6d8780a397d51561f2e7370b2
parent2b7c74d5ff7e835ffa76ed3c80b05cf73af40f4f (diff)
Indicate the limited locale selection in the POSIX backend
Change-Id: I82798de7ff313121144798969eed85c23e852d10 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Paul Wicking <paul.wicking@qt.io>
-rw-r--r--src/corelib/text/qcollator.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/corelib/text/qcollator.cpp b/src/corelib/text/qcollator.cpp
index d1bf8258ae..646c0c57b6 100644
--- a/src/corelib/text/qcollator.cpp
+++ b/src/corelib/text/qcollator.cpp
@@ -69,8 +69,9 @@ QT_BEGIN_NAMESPACE
In addition to the locale, several optional flags can be set that influence
the result of the collation.
- \note All options are ignored on Linux unless Qt is configured to use ICU
- (which it usually is).
+ \note On Linux, Qt is normally compiled to use ICU. When it isn't, all
+ options are ignored and the only supported locales are the system default
+ (that \c{setlocale(LC_COLLATE, nullptr)} would report) and the "C" locale.
*/
/*!