mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 12:55:31 +08:00
Display plugin name if simulator info is not available
This commit is contained in:
@@ -625,7 +625,10 @@ namespace BlackCore
|
|||||||
m_simulatorInternals.setSwiftPluginName(this->getSimulatorPluginInfo().toQString());
|
m_simulatorInternals.setSwiftPluginName(this->getSimulatorPluginInfo().toQString());
|
||||||
|
|
||||||
// info
|
// info
|
||||||
CLogMessage(this).info("Initialized simulator driver: '%1'") << this->getSimulatorInfo().toQString();
|
CLogMessage(this).info("Initialized simulator driver: '%1'") <<
|
||||||
|
(this->getSimulatorInfo().isUnspecified() ?
|
||||||
|
this->getSimulatorPluginInfo().toQString() :
|
||||||
|
this->getSimulatorInfo().toQString());
|
||||||
}
|
}
|
||||||
|
|
||||||
void ISimulator::onRecalculatedRenderedAircraft(const CAirspaceAircraftSnapshot &snapshot)
|
void ISimulator::onRecalculatedRenderedAircraft(const CAirspaceAircraftSnapshot &snapshot)
|
||||||
|
|||||||
Reference in New Issue
Block a user