Fixed missing compare index, message placeholder, and minor style fixes

This commit is contained in:
Klaus Basan
2019-11-09 15:10:29 +01:00
committed by Mat Sutcliffe
parent be9e2a37f3
commit 11187870de
3 changed files with 29 additions and 28 deletions

View File

@@ -125,7 +125,7 @@ namespace BlackCore
m_udpSocket->bind(localAddress);
m_voiceServerTimer->start(3000);
CLogMessage(this).info(u"Connected to voice server '%2'") << m_connection.getTokens().VoiceServer.addressIpV4;
CLogMessage(this).info(u"Connected to voice server '%1'") << m_connection.getTokens().VoiceServer.addressIpV4;
}
void CClientConnection::disconnectFromVoiceServer()

View File

@@ -1236,14 +1236,14 @@ namespace BlackCore
void ISimulator::rapOnRecalculatedRenderedAircraft(const CAirspaceAircraftSnapshot &snapshot)
{
if (!this->isConnected()) { return; }
if (!this->isConnected()) { return; }
if (this->isShuttingDown()) { return; }
this->onRecalculatedRenderedAircraft(snapshot);
}
void ISimulator::rapOnRemoteProviderRemovedAircraft(const CCallsign &callsign)
{
Q_UNUSED(callsign);
Q_UNUSED(callsign)
// currently not used, the calls are handled by context call logicallyRemoveRemoteAircraft
}