fix an error that lead to random crashes when starting the application

This commit is contained in:
Dorian Zedler 2020-05-19 08:45:45 +02:00
parent 074fe66e57
commit e3666876eb
Signed by: dorian
GPG key ID: 989DE36109AFA354
2 changed files with 2 additions and 2 deletions

View file

@ -6,11 +6,11 @@ ScStwAppBackend::ScStwAppBackend(QObject *parent) : QObject(parent)
this->scStwClient = new ScStwClient();
this->localRace = new ScStwRace(this);
this->remoteRace = new ScStwRemoteMonitorRace(this->scStwClient, this);
this->mode = LOCAL;
this->scStwClient->setIP(pGlobalAppSettings->loadSetting("baseStationIpAdress"));
connect(this->scStwClient, &ScStwClient::stateChanged, this, &ScStwAppBackend::baseStationStateChanged);
connect(this->scStwClient, &ScStwClient::stateChanged, this, &ScStwAppBackend::refreshMode);
//connect(this->scStwClient, &ScStwClient::gotSignal, this, &ScStwAppBackend::handleBaseStationSignal);
connect(this, &ScStwAppBackend::baseStationStateChanged, this, &ScStwAppBackend::baseStationPropertiesChanged);
this->localRace->addTimer(new ScStwTimer(this));

@ -1 +1 @@
Subproject commit ddc48986ad557f9e8ef1f779f9e0d42a128d81cf
Subproject commit 585d524a20e2e090b719cf36c2b8775d2b075704