mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 15:15:50 +08:00
Background updater can be const, only needed "readonly" for UI
This commit is contained in:
committed by
Mathew Sutcliffe
parent
6a17465633
commit
a1e16ea162
@@ -169,6 +169,7 @@ namespace BlackCore
|
||||
const QSet<CSimulatorInfo> simSet = sims.asSingleSimulatorSet();
|
||||
for (const CSimulatorInfo &singleInfo : simSet)
|
||||
{
|
||||
if (this->isShuttingDown()) { return; }
|
||||
CAircraftModelList simModels = cache.getSynchronizedCachedModels(singleInfo);
|
||||
if (simModels.isEmpty()) { continue; }
|
||||
const CAircraftModelList dbModelsForSim = dbModels.matchesSimulator(singleInfo);
|
||||
|
||||
Reference in New Issue
Block a user