summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qurlquery.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/io/qurlquery.cpp')
-rw-r--r--src/corelib/io/qurlquery.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qurlquery.cpp b/src/corelib/io/qurlquery.cpp
index 042f9a278b..b1c4b7d02c 100644
--- a/src/corelib/io/qurlquery.cpp
+++ b/src/corelib/io/qurlquery.cpp
@@ -337,7 +337,7 @@ QUrlQuery::QUrlQuery(const QUrl &url)
// use internals to avoid unnecessary recoding
// ### FIXME: actually do it
if (url.hasQuery())
- d = new QUrlQueryPrivate(QString::fromUtf8(url.encodedQuery()));
+ d = new QUrlQueryPrivate(url.query());
}
/*!