mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 15:45:46 +08:00
Style
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
|
||||
#include <QFlag>
|
||||
|
||||
using namespace BlackConfig;
|
||||
using namespace BlackMisc;
|
||||
using namespace BlackMisc::PhysicalQuantities;
|
||||
|
||||
@@ -62,7 +63,7 @@ namespace BlackCore
|
||||
|
||||
bool IContextSimulator::isSimulatorAvailable() const
|
||||
{
|
||||
return BlackConfig::CBuildConfig::isCompiledWithFlightSimulatorSupport() && !getSimulatorPluginInfo().isUnspecified();
|
||||
return CBuildConfig::isCompiledWithFlightSimulatorSupport() && !getSimulatorPluginInfo().isUnspecified();
|
||||
}
|
||||
|
||||
bool IContextSimulator::isSimulatorSimulating() const
|
||||
|
||||
@@ -815,7 +815,8 @@ namespace BlackCore
|
||||
|
||||
void CContextSimulator::relayStatusMessageToSimulator(const BlackMisc::CStatusMessage &message)
|
||||
{
|
||||
if (!this->isSimulatorAvailable()) { return; }
|
||||
if (!this->isSimulatorAvailable()) { return; }
|
||||
if (!sApp || sApp->isShuttingDown()) { return; }
|
||||
const CSimulatorMessagesSettings simMsg = m_messageSettings.getThreadLocal();
|
||||
if (simMsg.relayThisStatusMessage(message) && m_simulatorPlugin.second)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user