refs #837 Using new abbreviated syntax for null units.

This commit is contained in:
Mathew Sutcliffe
2016-12-14 21:36:52 +00:00
parent 0ca9fe0a8a
commit b252673928
12 changed files with 18 additions and 18 deletions

View File

@@ -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)