diff --git a/ScStwLibraries/sources/client/scstwremoterace.cpp b/ScStwLibraries/sources/client/scstwremoterace.cpp index d0ca62e..7ac0307 100644 --- a/ScStwLibraries/sources/client/scstwremoterace.cpp +++ b/ScStwLibraries/sources/client/scstwremoterace.cpp @@ -100,6 +100,7 @@ void ScStwRemoteRace::handleClientStateChange() { this->localTimers.clear(); this->localTimers = this->timers; this->timers.clear(); + this->remoteTimers.clear(); break; case ScStwClient::DISCONNECTED: foreach(ScStwRemoteTimer *remoteTimer, this->remoteTimers) @@ -185,7 +186,6 @@ void ScStwRemoteRace::refreshDetails(QVariantMap details) { } emit this->detailsChanged(); - } void ScStwRemoteRace::rebuildRemoteTimers(QVariantList remoteTimers) { @@ -212,6 +212,7 @@ bool ScStwRemoteRace::refreshRemoteTimers(QVariantList remoteTimers) { if(remoteTimers.length() != this->remoteTimers.length()){ // local timers are out of sync this->rebuildRemoteTimers(remoteTimers); + qDebug() << "rebuilding remote timers"; } foreach(QVariant remoteTimer, remoteTimers){