X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvRegisterForm.cxx;h=e39ffddadd9faf50f80befbab7f6b679927107d6;hb=8a1140e4a66617146b6209d5dfa250dfd09a89ee;hp=839887fd0d84b34dc4ddc025e0b14fd03b0c8958;hpb=046c745470683943ba4f0e6abd72ed27446d0cc2;p=clitk.git diff --git a/vv/vvRegisterForm.cxx b/vv/vvRegisterForm.cxx index 839887f..e39ffdd 100644 --- a/vv/vvRegisterForm.cxx +++ b/vv/vvRegisterForm.cxx @@ -20,13 +20,15 @@ #include "vvRegisterForm.h" #include #include -#include "common/globals.h" -#include "vvCommon.h" +#include +#include "clitkConfiguration.h" +#include "vvConfiguration.h" #include "vvUtils.h" vvRegisterForm::vvRegisterForm(QUrl url, QString path, QSettings::Format format):url(url), settings(path, format){ manager = new QNetworkAccessManager(this); setupUi(this); + textBrowser->viewport()->setAutoFillBackground(false); } void vvRegisterForm::sendData(){ @@ -37,6 +39,9 @@ void vvRegisterForm::sendData(){ url2.addQueryItem("group", group->text().toUtf8()); url2.addQueryItem("os", osName->text().toUtf8()); url2.addQueryItem("vvVersion", VV_VERSION); + url2.addQueryItem("architecture", ARCHITECTURE); + url2.addQueryItem("compilationDate", QString(__DATE__) + ", " + QString(__TIME__) ); + manager->get(QNetworkRequest(url2)); } void vvRegisterForm::accept(){ @@ -63,4 +68,4 @@ void vvRegisterForm::show(){ osName->setText(QString::fromStdString(OS_NAME)); QDialog::show(); -} \ No newline at end of file +}