summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@nokia.com>2011-07-01 11:57:13 (GMT)
committerDavid Boddie <david.boddie@nokia.com>2011-07-01 11:57:13 (GMT)
commit5a3817631fb8de1cd5b53d6001a2e770aa9ff189 (patch)
tree658edfe12c68488e724415e746ba8a8cacf63c72 /src/corelib
parent8a6dc154ef1fa71e85f02d011d6cbeb63e2ca3bb (diff)
parentfed237ecdd891df6ed4bd1e8e5f5b9a414e12a22 (diff)
downloadQt-5a3817631fb8de1cd5b53d6001a2e770aa9ff189.zip
Qt-5a3817631fb8de1cd5b53d6001a2e770aa9ff189.tar.gz
Qt-5a3817631fb8de1cd5b53d6001a2e770aa9ff189.tar.bz2
Merge branch '4.8' of scm.dev.nokia.troll.no:qt/qt
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/io/qurl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/io/qurl.cpp b/src/corelib/io/qurl.cpp
index 8813656..d551009 100644
--- a/src/corelib/io/qurl.cpp
+++ b/src/corelib/io/qurl.cpp
@@ -5466,6 +5466,7 @@ void QUrl::removeAllEncodedQueryItems(const QByteArray &key)
if (end < d->query.size())
++end; // remove additional '%'
d->query.remove(pos, end - pos);
+ query = d->query.constData(); //required if remove detach;
} else {
pos = end + 1;
}