diff options
author | Simon Rettberg | 2017-11-17 18:36:23 +0100 |
---|---|---|
committer | Simon Rettberg | 2017-11-17 18:36:23 +0100 |
commit | e90644ffde93b94c8f54968888f94e48c421e982 (patch) | |
tree | 0e578f68694775ba1db97e1dc7ec382f72cccb4a /src | |
parent | Try to fix segfault when selecting last session (needs verification) (diff) | |
parent | Fix passing of location ids in list request (diff) | |
download | vmchooser2-e90644ffde93b94c8f54968888f94e48c421e982.tar.gz vmchooser2-e90644ffde93b94c8f54968888f94e48c421e982.tar.xz vmchooser2-e90644ffde93b94c8f54968888f94e48c421e982.zip |
Merge branch 'master' of git.openslx.org:openslx-ng/vmchooser2
Diffstat (limited to 'src')
-rw-r--r-- | src/httpxmldownloader.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/httpxmldownloader.cpp b/src/httpxmldownloader.cpp index 45d1e79..56b256e 100644 --- a/src/httpxmldownloader.cpp +++ b/src/httpxmldownloader.cpp @@ -10,7 +10,9 @@ HttpXmlDownloader::HttpXmlDownloader() { QNetworkReply* HttpXmlDownloader::makeRequest(const QString& xmlurl, const QString& locationIds) { QUrl url(xmlurl); if (!locationIds.isEmpty()) { - QUrlQuery(url).addQueryItem("locations", locationIds); + QUrlQuery query(url); + query.addQueryItem("locations", locationIds); + url.setQuery(query); } return nam->get(QNetworkRequest(url)); } |