From: Simon Rit Date: Fri, 20 May 2011 07:37:12 +0000 (+0200) Subject: Reflect in gui what is actually sent X-Git-Tag: v1.2.1~1 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=7ae6a217e6b9d85687c9fa5db1f3ed4b395b3123;p=clitk.git Reflect in gui what is actually sent --- diff --git a/vv/vvRegisterForm.cxx b/vv/vvRegisterForm.cxx index c25b253..112330a 100644 --- a/vv/vvRegisterForm.cxx +++ b/vv/vvRegisterForm.cxx @@ -37,7 +37,7 @@ 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"); @@ -66,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(); }