From: APTX Date: Sun, 9 Jun 2013 01:50:16 +0000 (+0200) Subject: Consider 0 an invalid timestamp for a watched date. X-Git-Url: https://gitweb.aptx.org/?a=commitdiff_plain;h=b04d2d88a9d202ed91ba138f1609a70b560d898c;p=anidbudpclient.git Consider 0 an invalid timestamp for a watched date. --- diff --git a/filecommand.cpp b/filecommand.cpp index d35a682..2be0b22 100644 --- a/filecommand.cpp +++ b/filecommand.cpp @@ -485,7 +485,7 @@ QDateTime FileReply::myListViewDate() const { bool ok; uint timestamp = fileFlagData.value(FileFlag::MyListViewDate).toUInt(&ok); - if (ok) + if (ok && timestamp) return QDateTime::fromTime_t(timestamp); return QDateTime(); }