X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=Client%2Fcarmainwindow.cpp;h=9057ab7893a50a4213e665e068f78f8204c8fe70;hb=af8ebb3b76b88e083c24e5da24fdf329b7ff29b7;hp=a3aa67a8d8523088983af3274384d0080e96e490;hpb=5654558d20465dd6182edb9adc84b00216137a41;p=speedfreak diff --git a/Client/carmainwindow.cpp b/Client/carmainwindow.cpp index a3aa67a..9057ab7 100644 --- a/Client/carmainwindow.cpp +++ b/Client/carmainwindow.cpp @@ -19,6 +19,7 @@ CarMainWindow::CarMainWindow(QWidget *parent):QMainWindow(parent), ui(new Ui::CarMainWindow) { ui->setupUi(this); + ui->tabWidget->setCurrentWidget(this->ui->StartTab); //result = new ResultDialog(); //measure = new MeasureDialog(); xmlreader = new XmlReader(); @@ -202,6 +203,7 @@ void CarMainWindow::openResultView() //result->saveMeasuresToArray(measure->measures); // Show result dialog. //result->show(); + ui->pushButtonSendResult->setEnabled(true); QString timeInteger; timeInteger.setNum(this->measures->getTime40kmh()); //time = "0 - 40 km/h: "; @@ -583,7 +585,7 @@ void CarMainWindow::on_pushButtonMeasureTabAbort_clicked() void CarMainWindow::on_pushButtonSendResult_clicked() { sendXml(); - + ui->pushButtonSendResult->setEnabled(false); } void CarMainWindow::updateUserName()