mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 08:36:52 +08:00
refs #837 Using new abbreviated syntax for null units.
This commit is contained in:
@@ -308,7 +308,7 @@ namespace BlackMisc
|
||||
|
||||
CTime CAtcStation::bookedWhen() const
|
||||
{
|
||||
if (!this->hasValidBookingTimes()) { return CTime(0, CTimeUnit::nullUnit()); }
|
||||
if (!this->hasValidBookingTimes()) { return CTime(0, nullptr); }
|
||||
QDateTime now = QDateTime::currentDateTimeUtc();
|
||||
qint64 diffMs;
|
||||
if (this->m_bookedFromUtc > now)
|
||||
|
||||
Reference in New Issue
Block a user