summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qurl.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2012-07-28 01:39:51 (GMT)
committerQt by Nokia <qt-info@nokia.com>2012-07-28 10:07:35 (GMT)
commit6b10fc91413095535a0b91f7efe59cf5bfa2b81e (patch)
tree7333bc48e48d24fa88122f50c38a32eb75ecffdf /src/corelib/io/qurl.cpp
parent94a3aa317eea37ec6300c62c9ada5d055f9ceab1 (diff)
downloadQt-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>
Diffstat (limited to 'src/corelib/io/qurl.cpp')
-rw-r--r--src/corelib/io/qurl.cpp3
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