mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 19:35:32 +08:00
fixup! Handled some potentially "dangerous" parsing issues for VATSIM file (no coordinate)
This commit is contained in:
@@ -300,7 +300,8 @@ namespace BlackCore
|
||||
Q_ASSERT_X((validPos && posMsg.isEmpty()) || (!validPos && !posMsg.isEmpty()), Q_FUNC_INFO, "Inconsisten data");
|
||||
if (!posMsg.isEmpty())
|
||||
{
|
||||
CLogMessage(this).validationWarning(u"Callsign '%1' %2") << callsign << posMsg.join(", ");
|
||||
// Only info not to flood lof with warning
|
||||
CLogMessage(this).validationInfo(u"Callsign '%1' %2") << callsign << posMsg.join(", ");
|
||||
}
|
||||
|
||||
const CFrequency frequency = CFrequency(clientPartsMap["frequency"].toDouble(), CFrequencyUnit::MHz());
|
||||
|
||||
Reference in New Issue
Block a user