Network VATLIB refactoring

* use qit64 for timestamp related integers
* use valueInteger for PQ integer values (rounding)
This commit is contained in:
Klaus Basan
2018-08-15 18:27:45 +02:00
parent 60baa12c9d
commit 9be7572c36
7 changed files with 18 additions and 18 deletions

View File

@@ -955,10 +955,10 @@ namespace BlackCore
this->updateAircraftInRange(callsign, vm);
}
void CAirspaceMonitor::onAircraftConfigReceived(const CCallsign &callsign, const QJsonObject &jsonObject, int currentOffset)
void CAirspaceMonitor::onAircraftConfigReceived(const CCallsign &callsign, const QJsonObject &jsonObject, qint64 currentOffsetMs)
{
Q_ASSERT(CThreadUtils::isCurrentThreadObjectThread(this));
this->storeAircraftParts(callsign, jsonObject, currentOffset);
this->storeAircraftParts(callsign, jsonObject, currentOffsetMs);
// update client capability
CClient client = this->getClientOrDefaultForCallsign(callsign);