mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 11:55:35 +08:00
Add "ConnectionFailed" to Simulator status enum
Rename connectionChanged to statusChanged refs #231
This commit is contained in:
committed by
Roland Winklmeier
parent
7a69ad6ad9
commit
5498b449ac
@@ -69,7 +69,7 @@ namespace BlackSimPlugin
|
||||
m_simconnectTimerId = startTimer(10);
|
||||
m_isConnected = true;
|
||||
|
||||
emit connectionChanged(true);
|
||||
emit statusChanged(Connected);
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -78,7 +78,7 @@ namespace BlackSimPlugin
|
||||
if (!m_isConnected)
|
||||
return true;
|
||||
|
||||
emit connectionChanged(false);
|
||||
emit statusChanged(Disconnected);
|
||||
if (m_hSimConnect)
|
||||
SimConnect_Close(m_hSimConnect);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user