mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 11:55:35 +08:00
Formatting, renaming
This commit is contained in:
committed by
Roland Winklmeier
parent
cf6a555824
commit
dd587207fe
@@ -112,8 +112,7 @@ namespace BlackSimPlugin
|
||||
|
||||
bool CSimulatorFsx::disconnectFrom()
|
||||
{
|
||||
if (!m_isConnected)
|
||||
return true;
|
||||
if (!m_isConnected) { return true; }
|
||||
|
||||
emit statusChanged(Disconnected);
|
||||
if (m_hSimConnect)
|
||||
@@ -142,7 +141,6 @@ namespace BlackSimPlugin
|
||||
return false;
|
||||
}
|
||||
SimConnect_Close(m_hSimConnect);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user