[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdepimlibs/akonadi/kmime
From: Andras Mantia <amantia () kde ! org>
Date: 2010-11-14 20:40:34
Message-ID: 20101114204034.2C358AC8A2 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1197071 by amantia:
We have two flags for read/unread status, make sure isUnread() uses both and gives back the right result.
Fixes some messages marked as unread to appear really as unread.
M +1 -1 messagestatus.cpp
--- trunk/KDE/kdepimlibs/akonadi/kmime/messagestatus.cpp #1197070:1197071
@@ -207,7 +207,7 @@
bool Akonadi::MessageStatus::isUnread() const
{
- return ( mStatus & StatusUnread && !( mStatus & StatusIgnored ) );
+ return ( ( ( mStatus & StatusUnread ) || !(mStatus & StatusRead ) ) && !( mStatus & StatusIgnored ) );
}
bool Akonadi::MessageStatus::isRead() const
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic