From 7ae6a217e6b9d85687c9fa5db1f3ed4b395b3123 Mon Sep 17 00:00:00 2001 From: Simon Rit Date: Fri, 20 May 2011 09:37:12 +0200 Subject: [PATCH] Reflect in gui what is actually sent --- vv/vvRegisterForm.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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(); } -- 2.47.1