From 202a56000808bb2a915e5918bfbf69ec325aba30 Mon Sep 17 00:00:00 2001 From: mpech Date: Thu, 19 May 2011 15:54:56 +0200 Subject: [PATCH] send the processor architecture when registering --- common/globals.h.in | 1 + vv/vvRegisterForm.cxx | 1 + 2 files changed, 2 insertions(+) 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(){ -- 2.47.1