QUrl: port thread-safety autotest from Qt4.
authorDavid Faure <faure@kde.org>
Fri, 13 Jul 2012 22:53:38 +0000 (00:53 +0200)
committerQt by Nokia <qt-info@nokia.com>
Sun, 26 Aug 2012 09:08:42 +0000 (11:08 +0200)
commitac2b452616796c9dd9c0f0bb63dccbefeb8bacbc
tree557031e88e9d984ed9a8a120f7c35ee9b6a3deec
parent2b69159fd899e87bb8b5ddcb1a9350a1da984fb1
QUrl: port thread-safety autotest from Qt4.

This detected the same missing detach()s in QUrl::resolve.
Everything else works, no need for a mutex in Qt5's QUrl.

Change-Id: I0da51b7b0c6b810d314a26d4b638383cd17de12b
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/corelib/io/qurl.cpp
tests/auto/corelib/io/qurl/qurl.pro
tests/auto/corelib/io/qurl/tst_qurl.cpp