From: mpech Date: Thu, 19 May 2011 13:54:56 +0000 (+0200) Subject: send the processor architecture when registering X-Git-Tag: v1.2.1~14 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=202a56000808bb2a915e5918bfbf69ec325aba30;p=clitk.git send the processor architecture when registering --- diff --git a/common/globals.h.in b/common/globals.h.in index 14395c0..384a4d9 100644 --- a/common/globals.h.in +++ b/common/globals.h.in @@ -1,2 +1,3 @@ #define OS_NAME "@CMAKE_SYSTEM@" +#define ARCHITECTURE "@CMAKE_SYSTEM_PROCESSOR@" \ No newline at end of file diff --git a/vv/vvRegisterForm.cxx b/vv/vvRegisterForm.cxx index 93d16e4..7dfc942 100644 --- a/vv/vvRegisterForm.cxx +++ b/vv/vvRegisterForm.cxx @@ -39,6 +39,7 @@ void vvRegisterForm::sendData(){ url2.addQueryItem("group", group->text().toUtf8()); url2.addQueryItem("os", osName->text().toUtf8()); url2.addQueryItem("vvVersion", VV_VERSION); + url2.addQueryItem("architecture", ARCHITECTURE); manager->get(QNetworkRequest(url2)); } void vvRegisterForm::accept(){