mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +08:00
refs #786, prepare contexts for matching messages
In same step cleaned up contexts a bit * added function for model set strings * renamed functions to getModelSet... instead of installed models (the set is smaller and is what we want to use with DBus) * signal when debug/log flags changed * removed some \copydoc * allow to enable/disable rev.lookup/matching messages * removed reload model function (dangling)
This commit is contained in:
@@ -522,7 +522,9 @@ namespace BlackCore
|
||||
void CContextNetwork::enableReverseLookupMessages(bool enabled)
|
||||
{
|
||||
if (this->isDebugEnabled()) { BlackMisc::CLogMessage(this, BlackMisc::CLogCategory::contextSlot()).debug() << enabled; }
|
||||
return this->m_airspace->enableReverseLookupMessages(enabled);
|
||||
if (this->m_airspace->isReverseLookupMessagesEnabled() == enabled) { return; }
|
||||
this->m_airspace->enableReverseLookupMessages(enabled);
|
||||
emit CContext::changedLogOrDebugSettings();
|
||||
}
|
||||
|
||||
CAtcStation CContextNetwork::getOnlineStationForCallsign(const CCallsign &callsign) const
|
||||
|
||||
Reference in New Issue
Block a user