From b04d2d88a9d202ed91ba138f1609a70b560d898c Mon Sep 17 00:00:00 2001 From: APTX Date: Sun, 9 Jun 2013 03:50:16 +0200 Subject: [PATCH] Consider 0 an invalid timestamp for a watched date. --- filecommand.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- 2.52.0