mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 00:16:51 +08:00
Ref T261, setup support for isNull
This commit is contained in:
committed by
Roland Winklmeier
parent
46f509c367
commit
9c7134ff56
@@ -18,7 +18,8 @@ namespace BlackMisc
|
||||
CInterpolationAndRenderingSetupPerCallsign IInterpolationSetupProvider::getInterpolationSetupPerCallsignOrDefault(const CCallsign &callsign) const
|
||||
{
|
||||
QReadLocker l(&m_lockSetup);
|
||||
return m_setups.contains(callsign) ? m_setups.value(callsign) : CInterpolationAndRenderingSetupPerCallsign(callsign, m_globalSetup);
|
||||
if (!m_setups.contains(callsign)) { return CInterpolationAndRenderingSetupPerCallsign(callsign, m_globalSetup); }
|
||||
return m_setups.value(callsign);
|
||||
}
|
||||
|
||||
CInterpolationSetupList IInterpolationSetupProvider::getInterpolationSetupsPerCallsign() const
|
||||
|
||||
Reference in New Issue
Block a user