changed serial reading from lowlevel to boost with hope for more stability, changed a lot of smart pointers to unique_ptr, added fmt for logging
This commit is contained in:
@@ -11,7 +11,7 @@ using std::endl;
|
||||
using std::string;
|
||||
using std::vector;
|
||||
|
||||
WindowRennliste::WindowRennliste(std::shared_ptr<DataBase> db, QWidget * parent)
|
||||
WindowRennliste::WindowRennliste(DataBase * db, QWidget * parent)
|
||||
: QMainWindow(parent), ui(new Ui::WindowRennliste) {
|
||||
ui->setupUi(this);
|
||||
|
||||
@@ -99,7 +99,7 @@ WindowRennliste::WindowRennliste(std::shared_ptr<DataBase> db, QWidget * parent)
|
||||
this->ui->tWRennliste->item(0, i)->setBackground(Qt::green);
|
||||
}
|
||||
}
|
||||
void WindowRennliste::setWindowRace(std::shared_ptr<WindowRace> instance) {
|
||||
void WindowRennliste::setWindowRace(WindowRace * instance) {
|
||||
this->instanceWindowRace = instance;
|
||||
}
|
||||
vector<QString> WindowRennliste::getDriverAndCarSettings() {
|
||||
|
||||
Reference in New Issue
Block a user