fix an error that lead to random crashes when starting the application
This commit is contained in:
parent
074fe66e57
commit
e3666876eb
2 changed files with 2 additions and 2 deletions
|
@ -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
|
Reference in a new issue