mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
Ref T118, allow to just provide an id (from backend) and set the entity on swift side
* added getDistributorForDbKey * added fillInMissingAircraftAndLiveryEntities * fromDbJson function adjusted
This commit is contained in:
@@ -456,6 +456,12 @@ namespace BlackCore
|
||||
return 0;
|
||||
}
|
||||
|
||||
CDistributor CWebDataServices::getDistributorForDbKey(const QString &key) const
|
||||
{
|
||||
if (m_modelDataReader) { return m_modelDataReader->getDistributorForDbKey(key); }
|
||||
return CDistributor();
|
||||
}
|
||||
|
||||
CDistributor CWebDataServices::smartDistributorSelector(const CDistributor &distributor) const
|
||||
{
|
||||
if (m_modelDataReader) { return m_modelDataReader->smartDistributorSelector(distributor); }
|
||||
|
||||
Reference in New Issue
Block a user