mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 12:35:43 +08:00
Improved VATSIM datafile parsing
* removed empty split value at end * some formatting * columns to lower case at 1st parsing, not always
This commit is contained in:
@@ -148,6 +148,7 @@ namespace BlackCore
|
||||
QMap<BlackMisc::Aviation::CCallsign, BlackMisc::Network::CVoiceCapabilities> m_voiceCapabilities;
|
||||
|
||||
//! Split line and assign values to their corresponding attribute names
|
||||
//! \remark attributes expected as lower case
|
||||
static const QMap<QString, QString> clientPartsToMap(const QString ¤tLine, const QStringList &clientSectionAttributes);
|
||||
|
||||
//! Section in file
|
||||
|
||||
Reference in New Issue
Block a user