mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 16:55: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)
|
void CFs9Client::timerEvent(QTimerEvent *event)
|
||||||
{
|
{
|
||||||
Q_UNUSED(event);
|
Q_UNUSED(event)
|
||||||
|
|
||||||
sendMultiplayerPosition();
|
sendMultiplayerPosition();
|
||||||
sendMultiplayerParamaters();
|
sendMultiplayerParamaters();
|
||||||
@@ -199,10 +199,9 @@ namespace BlackSimPlugin
|
|||||||
HRESULT CFs9Client::enumDirectPlayHosts()
|
HRESULT CFs9Client::enumDirectPlayHosts()
|
||||||
{
|
{
|
||||||
HRESULT hr = s_ok();
|
HRESULT hr = s_ok();
|
||||||
|
|
||||||
if (isFailure(hr = createHostAddress()))
|
if (isFailure(hr = createHostAddress()))
|
||||||
{
|
{
|
||||||
qWarning() << "isFailure to create host address!";
|
CLogMessage(this).warning(u"FS9Client isFailure to create host address!");
|
||||||
return hr;
|
return hr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -182,7 +182,7 @@ namespace BlackSimPlugin
|
|||||||
client->start();
|
client->start();
|
||||||
|
|
||||||
m_hashFs9Clients.insert(callsign, client);
|
m_hashFs9Clients.insert(callsign, client);
|
||||||
bool updated = updateAircraftRendered(callsign, rendered);
|
const bool updated = updateAircraftRendered(callsign, rendered);
|
||||||
CSimulatedAircraft remoteAircraftCopy(newRemoteAircraft);
|
CSimulatedAircraft remoteAircraftCopy(newRemoteAircraft);
|
||||||
remoteAircraftCopy.setRendered(rendered);
|
remoteAircraftCopy.setRendered(rendered);
|
||||||
if (updated)
|
if (updated)
|
||||||
@@ -303,7 +303,7 @@ namespace BlackSimPlugin
|
|||||||
CFs9Client *client = m_hashFs9Clients[callsign].data();
|
CFs9Client *client = m_hashFs9Clients[callsign].data();
|
||||||
if (!client) { return false; }
|
if (!client) { return false; }
|
||||||
|
|
||||||
Q_UNUSED(parts);
|
Q_UNUSED(parts)
|
||||||
int u = 0;
|
int u = 0;
|
||||||
if (situation.isNull())
|
if (situation.isNull())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user