mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 09:15:34 +08:00
Ref T773, added "hasMeanSeaLevelValue" and consistently use it
This commit is contained in:
committed by
Mat Sutcliffe
parent
9f911b7e55
commit
287d96afea
@@ -144,6 +144,9 @@ namespace BlackMisc
|
||||
//! Flightlevel to MSL
|
||||
bool toMeanSeaLevel();
|
||||
|
||||
//! Non-NULL MSL value?
|
||||
bool hasMeanSeaLevelValue() const { return this->isMeanSeaLevel() && !this->isNull(); }
|
||||
|
||||
//! Current altitude type
|
||||
AltitudeType getAltitudeType() const { return m_altitudeType; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user