]> Creatis software - clitk.git/commitdiff
Reflect in gui what is actually sent
authorSimon Rit <simon.rit@creatis.insa-lyon.fr>
Fri, 20 May 2011 07:37:12 +0000 (09:37 +0200)
committerSimon Rit <simon.rit@creatis.insa-lyon.fr>
Fri, 20 May 2011 07:39:35 +0000 (09:39 +0200)
vv/vvRegisterForm.cxx

index c25b253c22154a1a6c1311cf38bdfc269069c392..112330aca32513e1d9e373f397f4d85738c665ac 100644 (file)
@@ -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();
 }