mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 15:15:50 +08:00
refs #568, specialized lists (timestamp, DB objects, model list)
* remaned to latest/oldestObject * JSON functions with prefix * remove by keys * only add models with model string to QStringList
This commit is contained in:
@@ -1017,7 +1017,7 @@ namespace BlackCore
|
||||
auto history = this->m_situationsByCallsign[callsign];
|
||||
if (history.empty()) { return; } // we need one full situation
|
||||
interimSituation.setCurrentUtcTime();
|
||||
interimSituation.setGroundspeed(history.latestValue().getGroundSpeed());
|
||||
interimSituation.setGroundspeed(history.latestObject().getGroundSpeed());
|
||||
}
|
||||
|
||||
// store situation history
|
||||
|
||||
Reference in New Issue
Block a user