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:
Klaus Basan
2018-02-10 01:31:24 +01:00
parent d64ddfa8af
commit ccd7c477e2
7 changed files with 60 additions and 32 deletions

View File

@@ -859,12 +859,12 @@ namespace BlackGui
void CDbMappingComponent::setOwnModelSetSimulator(const CSimulatorInfo &simulator)
{
Q_ASSERT_X(simulator.isSingleSimulator(), Q_FUNC_INFO, "Need single simulator");
ui->comp_OwnModelSet->setModelSetSimulator(simulator);
ui->comp_OwnModelSet->setSimulator(simulator);
}
CAircraftModelList CDbMappingComponent::getOwnModelSet() const
{
return ui->comp_OwnModelSet->getModelSet();
return ui->comp_OwnModelSet->getModelSetFromView();
}
CStatusMessage CDbMappingComponent::stashModel(const CAircraftModel &model, bool replace)