mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-16 18:35:35 +08:00
Based on discussion around T107 and slack
* Use CJsonScope scope("MetaData") for stacktrace
* added Q_UNUSED(scope) to avoid QtC warnings
This commit is contained in:
committed by
Mathew Sutcliffe
parent
c4db854fad
commit
94c9886c35
@@ -69,6 +69,7 @@ namespace BlackMisc
|
||||
CAircraftEngine engine;
|
||||
int number = e.toInt();
|
||||
CJsonScope scope(e);
|
||||
Q_UNUSED(scope);
|
||||
engine.convertFromJson(json.value(e).toObject());
|
||||
engine.setNumber(number);
|
||||
push_back(engine);
|
||||
|
||||
Reference in New Issue
Block a user