X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvRegisterForm.cxx;h=112330aca32513e1d9e373f397f4d85738c665ac;hb=f82c1eae81da548c4ddc5bb905200451c7662a0d;hp=c2bda0e1c581c69b0554ca35c74034b297faf4e9;hpb=43dac9cc8846cf1519256afbb4d408e42e23f3fe;p=clitk.git diff --git a/vv/vvRegisterForm.cxx b/vv/vvRegisterForm.cxx index c2bda0e..112330a 100644 --- a/vv/vvRegisterForm.cxx +++ b/vv/vvRegisterForm.cxx @@ -37,9 +37,12 @@ void vvRegisterForm::sendData(){ url2.addQueryItem("lastName", lastName->text().toUtf8()); url2.addQueryItem("email", email->text().toUtf8()); url2.addQueryItem("group", group->text().toUtf8()); - url2.addQueryItem("os", osName->text().toUtf8()); + url2.addQueryItem("os", OS_NAME); url2.addQueryItem("vvVersion", VV_VERSION); url2.addQueryItem("architecture", ARCHITECTURE); + url2.addQueryItem("adressing", QString::number(sizeof(char*)*8)+"-bit"); + url2.addQueryItem("compilationDate", QString(__DATE__) + ", " + QString(__TIME__) ); + manager->get(QNetworkRequest(url2)); } void vvRegisterForm::accept(){ @@ -63,7 +66,8 @@ void vvRegisterForm::show(){ lastName->setText(settings.value("lastName").toString()); email->setText(settings.value("email").toString()); group->setText(settings.value("group").toString()); - - osName->setText(QString::fromStdString(OS_NAME)); + osName->setText(QString::fromStdString(OS_NAME) + ", " + + ARCHITECTURE + ", " + + QString::number(sizeof(char*)*8)+"-bit"); QDialog::show(); }