diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2011-01-07 16:06:12 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2011-01-07 16:06:12 (GMT) |
commit | e77f4301e8154212d1410a762e0e0279c5b3069c (patch) | |
tree | a51768c3763d426567816cc2b9d5b6a59e56990a /src/corelib | |
parent | 606294044df3cf318bd6bb6f2e73389d84e3a032 (diff) | |
parent | 2f2837888324b6d75ac1be170790772d1fcf5f17 (diff) | |
download | Qt-e77f4301e8154212d1410a762e0e0279c5b3069c.zip Qt-e77f4301e8154212d1410a762e0e0279c5b3069c.tar.gz Qt-e77f4301e8154212d1410a762e0e0279c5b3069c.tar.bz2 |
Merge branch 4.7 into qt-master-from-4.7
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/io/qurl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/io/qurl.cpp b/src/corelib/io/qurl.cpp index 6ec5562..b39867c 100644 --- a/src/corelib/io/qurl.cpp +++ b/src/corelib/io/qurl.cpp @@ -4309,6 +4309,7 @@ void QUrl::setUrl(const QString &url) */ void QUrl::setUrl(const QString &url, ParsingMode parsingMode) { + detach(); // escape all reserved characters and delimiters // reserved = gen-delims / sub-delims if (parsingMode != TolerantMode) { |