feature: added possibility to change hardware interface from GUI
This commit is contained in:
@@ -39,7 +39,7 @@ Training::Training(QWidget * parent, DataBase * db)
|
||||
started = true;
|
||||
paused = false;
|
||||
|
||||
this->Hardware = std::make_shared<HardwareSetup>();
|
||||
this->Hardware = std::make_shared<HardwareSetup>(this->db);
|
||||
Hardware->start();
|
||||
|
||||
QObject::connect(Hardware.get(), SIGNAL(Dea(int, int)), this,
|
||||
|
||||
Reference in New Issue
Block a user