code cleanup

This commit is contained in:
2018-12-11 19:55:39 +01:00
parent 9cfb50983a
commit 9d0dee379f
2 changed files with 68 additions and 40 deletions

View File

@@ -38,7 +38,7 @@ WindowRace::WindowRace(DataBase * db, QWidget * parent)
statement = "select minsec1, minsec2, minsec3, mindestRundenDauer from "
"renndauer order by id "
"DESC limit 1";
cout << statement << endl;
// cout << statement << endl;
res = db->getData(statement, 4);
this->minSecTime.append(res[0][0].toInt());
this->minSecTime.append(res[0][1].toInt());
@@ -49,7 +49,7 @@ WindowRace::WindowRace(DataBase * db, QWidget * parent)
QVectorHelper::minSec2 = this->minSecTime.at(1);
QVectorHelper::minSec3 = this->minSecTime.at(2);
QVectorHelper::minTrackTime = this->minSecTime.at(3);
cout << "Track time minimum:" << QVectorHelper::minTrackTime << endl;
// cout << "Track time minimum:" << QVectorHelper::minTrackTime << endl;
firstTimeDea = true;
firstTimeShell = true;