code cleanup

This commit is contained in:
2018-11-30 16:14:45 +01:00
parent 4dd765b341
commit adbdc93315
8 changed files with 60 additions and 42 deletions

View File

@@ -16,15 +16,12 @@ using std::vector;
MainWindow::MainWindow(QWidget * parent)
: QMainWindow(parent), ui(new Ui::MainWindow) {
ui->setupUi(this);
this->interfaceTraining = NULL;
this->interfaceTraining = nullptr;
this->interfaceRace = NULL;
this->interfaceSettings = NULL;
this->interfaceRennliste = NULL;
this->interfaceRace = nullptr;
this->interfaceSettings = nullptr;
this->interfaceRennliste = nullptr;
// test = new HardwareSetup;
// this->test->start();
QObject::connect(ui->pushButton, SIGNAL(clicked()), this,
SLOT(NewWindowSettings()));
@@ -43,9 +40,10 @@ MainWindow::MainWindow(QWidget * parent)
this->db = new DataBase;
vector<vector<QString>> daten = db->getData("select * from Fahrer", 2);
// vector<vector<QString>> daten = db->getData("select * from Fahrer", 2);
}
void MainWindow::closeEvent(QCloseEvent * event) {
Q_UNUSED(event);
}
MainWindow::~MainWindow() {