small fix

This commit is contained in:
2017-09-12 13:55:54 +02:00
parent 5255b40e78
commit c55f66b398

View File

@@ -239,7 +239,6 @@ void WindowRace::setDriverAndCarId(vector<QString> vec){
}
void WindowRace::closeEvent(QCloseEvent *event){
countdown->setStop();
this->Hardware->setStop();
QMessageBox msgBox;
msgBox.setText("Wirklich schliessen?");
@@ -254,6 +253,7 @@ void WindowRace::closeEvent(QCloseEvent *event){
break;
case QMessageBox::Yes:
this->wRennliste->schliessen();
this->Hardware->setStop();
event->accept();
break;
default: