mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 08:36:52 +08:00
Listen for X-Plane to start
This commit is contained in:
committed by
Roland Winklmeier
parent
adc623f0e7
commit
45f48f7594
@@ -196,11 +196,12 @@ namespace BlackCore
|
||||
if (this->m_contextSettings)
|
||||
{
|
||||
connect(this->m_contextSettings, &IContextSettings::changedSettings, this->m_contextSimulator, &IContextSimulator::settingsChanged);
|
||||
if (!this->m_contextSimulator->loadSimulatorPluginFromSettings())
|
||||
{
|
||||
CLogMessage(this).warning("No simulator plugin loaded");
|
||||
}
|
||||
times.insert("Post setup, load sim. plugin", time.restart());
|
||||
// if (!this->m_contextSimulator->loadSimulatorPluginFromSettings())
|
||||
// {
|
||||
// CLogMessage(this).warning("No simulator plugin loaded");
|
||||
// }
|
||||
this->m_contextSimulator->listenForSimulatorFromSettings();
|
||||
times.insert("Post setup, load sim. listener(s)", time.restart());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user