mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
[FS9] Minor style fixes
This commit is contained in:
committed by
Mat Sutcliffe
parent
34f9fb89d6
commit
22d8b52fe8
@@ -190,7 +190,7 @@ namespace BlackSimPlugin
|
||||
|
||||
void CFs9Client::timerEvent(QTimerEvent *event)
|
||||
{
|
||||
Q_UNUSED(event);
|
||||
Q_UNUSED(event)
|
||||
|
||||
sendMultiplayerPosition();
|
||||
sendMultiplayerParamaters();
|
||||
@@ -199,10 +199,9 @@ namespace BlackSimPlugin
|
||||
HRESULT CFs9Client::enumDirectPlayHosts()
|
||||
{
|
||||
HRESULT hr = s_ok();
|
||||
|
||||
if (isFailure(hr = createHostAddress()))
|
||||
{
|
||||
qWarning() << "isFailure to create host address!";
|
||||
CLogMessage(this).warning(u"FS9Client isFailure to create host address!");
|
||||
return hr;
|
||||
}
|
||||
|
||||
|
||||
@@ -182,7 +182,7 @@ namespace BlackSimPlugin
|
||||
client->start();
|
||||
|
||||
m_hashFs9Clients.insert(callsign, client);
|
||||
bool updated = updateAircraftRendered(callsign, rendered);
|
||||
const bool updated = updateAircraftRendered(callsign, rendered);
|
||||
CSimulatedAircraft remoteAircraftCopy(newRemoteAircraft);
|
||||
remoteAircraftCopy.setRendered(rendered);
|
||||
if (updated)
|
||||
@@ -303,7 +303,7 @@ namespace BlackSimPlugin
|
||||
CFs9Client *client = m_hashFs9Clients[callsign].data();
|
||||
if (!client) { return false; }
|
||||
|
||||
Q_UNUSED(parts);
|
||||
Q_UNUSED(parts)
|
||||
int u = 0;
|
||||
if (situation.isNull())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user