bugfix in trainging mode: reference time should be correct now
This commit is contained in:
16
training.cpp
16
training.cpp
@@ -66,6 +66,11 @@ Training::Training(QWidget * parent, DataBase * db)
|
||||
this->minSecTime.append(res[0][1].toInt());
|
||||
this->minSecTime.append(res[0][2].toInt());
|
||||
this->minSecTime.append(res[0][3].toInt());
|
||||
|
||||
QVectorHelper::minSec1 = this->minSecTime.at(0);
|
||||
QVectorHelper::minSec2 = this->minSecTime.at(1);
|
||||
QVectorHelper::minSec3 = this->minSecTime.at(2);
|
||||
QVectorHelper::minTrackTime = this->minSecTime.at(3);
|
||||
}
|
||||
void Training::ResetShell() {
|
||||
this->VecShell.clear();
|
||||
@@ -93,6 +98,7 @@ void Training::ResetDea() {
|
||||
this->ui->lBestZeitDea->setText("∞");
|
||||
|
||||
this->ui->lCurRoundDea->setText("∞");
|
||||
|
||||
this->firstTimeDea = true;
|
||||
|
||||
this->ui->lBridgeDeaTop->setText("∞");
|
||||
@@ -116,6 +122,16 @@ void Training::prepareNextRace() {
|
||||
this->ui->lCurRoundTimeShell->setText("∞");
|
||||
this->ui->lCurRoundDea->setText("∞");
|
||||
|
||||
this->ui->lBridgeShellTop->setText("∞");
|
||||
this->ui->lStraightShellTop->setText("∞");
|
||||
this->ui->lCurvesShellTop->setText("∞");
|
||||
this->ui->lDeltaTopTimeShell->setText("∞");
|
||||
|
||||
this->ui->lBridgeDeaTop->setText("∞");
|
||||
this->ui->lStraightDeaTop->setText("∞");
|
||||
this->ui->lCurvesDeaTop->setText("∞");
|
||||
this->ui->lDeltaTopTimeDea->setText("∞");
|
||||
|
||||
this->finished = false;
|
||||
this->paused = false;
|
||||
this->started = true;
|
||||
|
||||
Reference in New Issue
Block a user