QUrl: document that setIdnWhitelist isn't thread-safe

This is a forward-port of 6b10fc91 from Qt 4.

Change-Id: I58878bf24e4f1b50ebfd0457c37eef58696f4a4c
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
bb10
Marc Mutz 2012-07-29 01:04:08 +02:00 committed by Qt by Nokia
parent 650cdb62bd
commit ada38c75cc
1 changed files with 3 additions and 0 deletions

View File

@ -2572,6 +2572,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