From 0301cd4a99d1ad6dd2f9947d4d22a2f8f8f88771 Mon Sep 17 00:00:00 2001 From: APTX Date: Sat, 15 Jun 2013 22:36:16 +0200 Subject: [PATCH] If FileFlag::MyListViewed is available and file is not watched, disregard any view date value. --- filecommand.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/filecommand.cpp b/filecommand.cpp index 2be0b22..74f3c30 100644 --- a/filecommand.cpp +++ b/filecommand.cpp @@ -483,6 +483,9 @@ QString FileReply::myListStorage() const QDateTime FileReply::myListViewDate() const { + if ((command().fmask() & FileFlag::MyListViewed) && !myListViewed()) + return QDateTime(); + bool ok; uint timestamp = fileFlagData.value(FileFlag::MyListViewDate).toUInt(&ok); if (ok && timestamp) -- 2.52.0