Commit 0c8ffad0 authored by Tobias Koenig's avatar Tobias Koenig
Browse files

Adapt to changes in MessageStatus

svn path=/trunk/KDE/kdepim/runtime/; revision=1197782
parent 5e00dc4a
......@@ -124,7 +124,7 @@ MessageStatus& KMIndexData::status()
mStatus.clear();
break;
case KMLegacyMsgStatusUnread:
mStatus.setUnread();
mStatus.setRead( false );
break;
case KMLegacyMsgStatusRead:
mStatus.setRead();
......
......@@ -99,7 +99,7 @@ void TestIdxReader::testRead() {
QCOMPARE ( subject, QString ( "foo bar" ) );
QVERIFY ( status.isImportant() );
QVERIFY ( msg->status().isImportant() );
QVERIFY ( msg->status().isUnread() );
QVERIFY ( !msg->status().isRead() );
QVERIFY ( msg->tagList().size() == 0 );
}
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