feature: added possibility to change hardware interface from GUI

This commit is contained in:
2019-12-29 17:07:42 +01:00
parent 8443b12937
commit e102dab939
8 changed files with 163 additions and 9 deletions

View File

@@ -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,