code cleanup
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user