X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=Client%2Fresultdialog.cpp;h=88171ab5e7c868fedec52677082888a6c342e194;hb=ac84b058f9433e99aee2f560ef4f4e634d6900f7;hp=0662fe221fd58ad24fabe8ce7c64fce142290fae;hpb=e753d97cfeafbe574fbd6f51c4f06dfebd0141e4;p=speedfreak diff --git a/Client/resultdialog.cpp b/Client/resultdialog.cpp index 0662fe2..88171ab 100644 --- a/Client/resultdialog.cpp +++ b/Client/resultdialog.cpp @@ -324,7 +324,7 @@ void ResultDialog::on_pushButtonNew_clicked() */ void ResultDialog::on_pushButtonSend_clicked() { - //emit sendresult(); + ui->pushButtonSend->setEnabled(false); emit sendresult(timeArray[this->getTargetChoice()]); } @@ -759,3 +759,11 @@ void ResultDialog::setLabelInfoToUser(QString infoText) { this->ui->labelInfoToUser->setText(infoText); } + +/** + * This function enable send server button. + */ +void ResultDialog::setSendServerButtonEnabled() +{ + ui->pushButtonSend->setEnabled(true); +}