QTfrontend/ui/widget/feedbackdialog.cpp
changeset 8613 82c649dfc7c3
parent 8595 d2940421d3d4
child 8637 bf63104605fe
equal deleted inserted replaced
8612:f7c194533d45 8613:82c649dfc7c3
   445     QString summary = this->summary->text();
   445     QString summary = this->summary->text();
   446     QString description = this->description->toPlainText();
   446     QString description = this->description->toPlainText();
   447     QString email = this->email->text();
   447     QString email = this->email->text();
   448     QString captchaCode = this->captcha_code->text();
   448     QString captchaCode = this->captcha_code->text();
   449     QString captchaID = QString::number(this->captchaID);
   449     QString captchaID = QString::number(this->captchaID);
   450     QString version = "HedgewarsFoundation-Hedgewars-" + (cVersionString?(*cVersionString):QString(""));
   450     QString version = "HedgewarsFoundation-Hedgewars-v" + *cVersionString + "_r" + 
       
   451                        *cRevisionString + "|" + *cHashString;
   451 
   452 
   452     if (summary.isEmpty() || description.isEmpty())
   453     if (summary.isEmpty() || description.isEmpty())
   453     {
   454     {
   454         ShowErrorMessage(QMessageBox::tr("Please fill out all fields. Email is optional."));
   455         ShowErrorMessage(QMessageBox::tr("Please fill out all fields. Email is optional."));
   455         return;
   456         return;