mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
Ref T246, unified signal handling in model caches and loader
* setSimulator as checked, simulatorChanged as unchecked version * some renamings * made some functions private, turned public slots -> public
This commit is contained in:
@@ -94,7 +94,7 @@ namespace BlackGui
|
||||
void CModelMatcherComponent::onSimulatorChanged(const BlackMisc::Simulation::CSimulatorInfo &simulator)
|
||||
{
|
||||
Q_ASSERT_X(simulator.isSingleSimulator(), Q_FUNC_INFO, "Need single simulator");
|
||||
m_modelSetLoader.changeSimulator(simulator);
|
||||
m_modelSetLoader.setSimulator(simulator);
|
||||
m_matcher.setModelSet(m_modelSetLoader.getAircraftModels(), simulator);
|
||||
this->redisplay();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user