mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 12:55:33 +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());
|
||||
|
||||
// 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)
|
||||
|
||||
Reference in New Issue
Block a user