mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-17 02:45:33 +08:00
Improve XP model loader messages
Change the severity to Error for parser errors and raise a prominent popup with all collected issues. Also be more explicit from which file and line the error came from. Maniphest Tasks: T462
This commit is contained in:
committed by
Mat Sutcliffe
parent
6ea8d16460
commit
6aa1402303
@@ -120,6 +120,8 @@ namespace BlackMisc
|
||||
CSLPackage parsePackageHeader(const QString &path, const QString &content);
|
||||
void parseFullPackage(const QString &content, CSLPackage &package);
|
||||
|
||||
void addUniqueModel(const CAircraftModel &model, CAircraftModelList &models);
|
||||
|
||||
QPointer<CWorker> m_parserWorker; //!< worker will destroy itself, so weak pointer
|
||||
QVector<CSLPackage> m_cslPackages; //!< Parsed Packages. No lock required since accessed only from one thread
|
||||
|
||||
|
||||
Reference in New Issue
Block a user