mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
Ref T292, Ref T285 minor style improvements, renamings
This commit is contained in:
@@ -204,12 +204,12 @@ namespace BlackCore
|
||||
{
|
||||
msgs.push_back(CStatusMessage(this).error("No network interface, simulation will not work properly"));
|
||||
}
|
||||
const CSimulatorInfo sims = this->simulatorsWithInitializedModelSet();
|
||||
if (sims.isNoSimulator())
|
||||
const CSimulatorInfo simulators = this->simulatorsWithInitializedModelSet();
|
||||
if (simulators.isNoSimulator())
|
||||
{
|
||||
msgs.push_back(CStatusMessage(this).error("No model set so far, you need at least one model set. Hint: You can create a model set in the mapping tool, or copy an existing set in the launcher."));
|
||||
}
|
||||
else if (sims.isXPlane() || CSimulatorInfo(m_enabledSimulators.get()).isXPlane())
|
||||
else if (simulators.isXPlane() || CSimulatorInfo(m_enabledSimulators.get()).isXPlane())
|
||||
{
|
||||
// ever used with XPlane
|
||||
const QString pluginDir = CXPlaneUtil::pluginDirFromRootDir(m_simulatorSettings.getSimulatorDirectoryOrDefault(CSimulatorInfo::XPLANE));
|
||||
|
||||
Reference in New Issue
Block a user