mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 00:16:51 +08:00
Avoid empty callsign objects
This commit is contained in:
@@ -232,6 +232,7 @@ namespace BlackMisc
|
||||
QHash<CCallsign, OBJ> hash;
|
||||
for (const OBJ &obj : this->container())
|
||||
{
|
||||
if (obj.getCallsign().isEmpty()) { continue; }
|
||||
hash.insert(obj.getCallsign(), obj);
|
||||
}
|
||||
return hash;
|
||||
|
||||
Reference in New Issue
Block a user