added measunring error recognition

This commit is contained in:
2014-09-26 22:26:26 +02:00
parent 87b0c093d6
commit 9219f20f39
3 changed files with 24 additions and 9 deletions

View File

@@ -89,6 +89,12 @@ vector<QString> WindowRennliste::getDriverAndCarId(){
return this->tableData[this->selectedRow];
}
void WindowRennliste::setBesttime(int shell, int dea){
this->ui->tWRennliste->item(this->selectedRow, 2)->setText(QString::number(shell/1000.0));
this->ui->tWRennliste->item(this->selectedRow, 5)->setText(QString::number(dea/1000.0));
std::cout << this->selectedRow << std::endl;
}
void WindowRennliste::listClick(const QModelIndex & index){
QString driverShell = this->ui->tWRennliste->item(index.row(), 0)->text();