From e3666876ebb4e7940a336a11640ddeeaf11f5fd3 Mon Sep 17 00:00:00 2001 From: Dorian Zedler Date: Tue, 19 May 2020 08:45:45 +0200 Subject: [PATCH] fix an error that lead to random crashes when starting the application --- ScStwSrc/sources/scstwappbackend.cpp | 2 +- shared-libraries | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ScStwSrc/sources/scstwappbackend.cpp b/ScStwSrc/sources/scstwappbackend.cpp index 87d3fe6..78a4483 100644 --- a/ScStwSrc/sources/scstwappbackend.cpp +++ b/ScStwSrc/sources/scstwappbackend.cpp @@ -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)); diff --git a/shared-libraries b/shared-libraries index ddc4898..585d524 160000 --- a/shared-libraries +++ b/shared-libraries @@ -1 +1 @@ -Subproject commit ddc48986ad557f9e8ef1f779f9e0d42a128d81cf +Subproject commit 585d524a20e2e090b719cf36c2b8775d2b075704