mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 12:55:31 +08:00
Ref T730, removed voice room selection in ATC station component and settings
This commit is contained in:
committed by
Mat Sutcliffe
parent
96669ea507
commit
be4776ce85
@@ -27,8 +27,7 @@ namespace BlackGui
|
||||
enum ColumnIndex
|
||||
{
|
||||
IndexInRangeOnly = BlackMisc::CPropertyIndex::GlobalIndexCAtcStationsSettings,
|
||||
IndexValidFrequencyOnly,
|
||||
IndexValidVoiceRoomOnly
|
||||
IndexValidFrequencyOnly
|
||||
};
|
||||
|
||||
//! Default constructor
|
||||
@@ -46,12 +45,6 @@ namespace BlackGui
|
||||
//! Show only with valid frequency
|
||||
void setShowOnlyWithValidFrequency(bool onlyValidFrequency) { m_onlyWithValidFrequency = onlyValidFrequency; }
|
||||
|
||||
//! Show only with valid voice room?
|
||||
bool showOnlyWithValidVoiceRoom() const { return m_onlyWithValidVoiceRoom; }
|
||||
|
||||
//! Show only with valid voice room
|
||||
void setShowOnlyWithValidVoiceRoom(bool onlyValidVoiceRoom) { m_onlyWithValidVoiceRoom = onlyValidVoiceRoom; }
|
||||
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
@@ -64,13 +57,11 @@ namespace BlackGui
|
||||
private:
|
||||
bool m_showOnlyInRange = true;
|
||||
bool m_onlyWithValidFrequency = true;
|
||||
bool m_onlyWithValidVoiceRoom = false;
|
||||
|
||||
BLACK_METACLASS(
|
||||
CAtcStationsSettings,
|
||||
BLACK_METAMEMBER(showOnlyInRange),
|
||||
BLACK_METAMEMBER(onlyWithValidFrequency),
|
||||
BLACK_METAMEMBER(onlyWithValidVoiceRoom)
|
||||
BLACK_METAMEMBER(onlyWithValidFrequency)
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user