Commit f0af73d2 authored by Robert Krawitz's avatar Robert Krawitz

Apply 1 suggestion(s) to 1 file(s)

parent 75ad9258
......@@ -55,8 +55,7 @@ Utilities::FastDateTime::addSecs(qint64 secs) const
{
FastDateTime answer(*this);
answer.m_dateTime = answer.m_dateTime.addSecs(secs);
answer.m_msecsSinceEpoch = answer.m_dateTime.isValid() ?
answer.m_dateTime.toMSecsSinceEpoch() : INT64_MIN;
answer.m_msecsSinceEpoch = toValidatedMSecs(answer);
return answer;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment