mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 06:35:52 +08:00
Formatting, comments, typos, or minor tweaks
* Aircraft ICAO class: hasXX methods (hasAircraftCombinedType(), ..) * Index Variant map, contains(index) * Deleted context_network_textmessages.cpp and moved it into impl.cpp (this was only 1 method) * Fixed bug refs#228
This commit is contained in:
@@ -910,13 +910,13 @@ namespace BlackCore
|
||||
quint32 flags = 0;
|
||||
while (*keysValues)
|
||||
{
|
||||
const char *key = keysValues[0];
|
||||
const QString key(keysValues[0]);
|
||||
const char *value = keysValues[1];
|
||||
if (*value == '1')
|
||||
{
|
||||
if (key == net->capability_AtcInfo) { flags |= AcceptsAtisResponses; }
|
||||
if (key == net->capability_AtcInfo) { flags |= AcceptsAtisResponses; }
|
||||
else if (key == net->capability_InterimPos) { flags |= SupportsInterimPosUpdates; }
|
||||
else if (key == net->capability_ModelDesc) { flags |= SupportsModelDescriptions; }
|
||||
else if (key == net->capability_ModelDesc) { flags |= SupportsModelDescriptions; }
|
||||
}
|
||||
keysValues += 2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user