diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2012-07-28 01:39:51 (GMT) |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-28 10:07:35 (GMT) |
commit | 6b10fc91413095535a0b91f7efe59cf5bfa2b81e (patch) | |
tree | 7333bc48e48d24fa88122f50c38a32eb75ecffdf | |
parent | 94a3aa317eea37ec6300c62c9ada5d055f9ceab1 (diff) | |
download | Qt-6b10fc91413095535a0b91f7efe59cf5bfa2b81e.zip Qt-6b10fc91413095535a0b91f7efe59cf5bfa2b81e.tar.gz Qt-6b10fc91413095535a0b91f7efe59cf5bfa2b81e.tar.bz2 |
QUrl: document that setIdnWhitelist isn't thread-safe
Change-Id: Ia77a211f1d670d81b2a4783693ed09533d53eceb
Reviewed-by: David Faure <faure@kde.org>
-rw-r--r-- | src/corelib/io/qurl.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/corelib/io/qurl.cpp b/src/corelib/io/qurl.cpp index e6ad1ea..35daa18 100644 --- a/src/corelib/io/qurl.cpp +++ b/src/corelib/io/qurl.cpp @@ -5992,6 +5992,9 @@ QStringList QUrl::idnWhitelist() Sets the whitelist of Top-Level Domains (TLDs) that are allowed to have non-ASCII characters in domains to the value of \a list. + Note that if you call this function, you need to do so \em before + you start any threads that might access idnWhitelist(). + Qt has comes a default list that contains the Internet top-level domains that have published support for Internationalized Domain Names (IDNs) and rules to guarantee that no deception can happen between similarly-looking |