Skip to content
Snippets Groups Projects
Commit f924f75f authored by Langella Olivier's avatar Langella Olivier
Browse files

add a query string to know from which version it is asked

parent 37b0c37b
No related branches found
No related tags found
No related merge requests found
......@@ -71,8 +71,10 @@ HttpVersion::HttpVersion()
emit httpVersionReady();
});
m_request.setUrl(
QUrl("http://pappso.inrae.fr/bioinfo/xtandempipeline/index.json"));
m_request.setUrl(QUrl(
QString(
"http://pappso.inrae.fr/bioinfo/xtandempipeline/index.json?from=%1")
.arg(XTPCPP_VERSION)));
m_request.setHeader(QNetworkRequest::ContentTypeHeader,
"application/json");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment