summaryrefslogtreecommitdiffstats
path: root/src/libraries/qmfclient/qmailstore_p.cpp
diff options
context:
space:
mode:
authorPekka Vuorela <pekka.vuorela@jolla.com>2018-08-15 11:59:32 +0300
committerPekka Vuorela <pvuorela@iki.fi>2018-08-20 06:44:56 +0000
commit2eb6b3dd41fb21364578a1ac691488b82b08125e (patch)
tree2eeb0678f0f15f58b6efa7ea8b5f7ab07612de65 /src/libraries/qmfclient/qmailstore_p.cpp
parentf6931702f0e9e49d647b51cf30caac55a659c94c (diff)
Remove dead code
Change-Id: I1cb0a54cbfeffe613d23931c29fbdde9cab1f2d1 Reviewed-by: Christopher Adams <chris.adams@jollamobile.com>
Diffstat (limited to 'src/libraries/qmfclient/qmailstore_p.cpp')
-rw-r--r--src/libraries/qmfclient/qmailstore_p.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libraries/qmfclient/qmailstore_p.cpp b/src/libraries/qmfclient/qmailstore_p.cpp
index a1dd8bce..d7f80a88 100644
--- a/src/libraries/qmfclient/qmailstore_p.cpp
+++ b/src/libraries/qmfclient/qmailstore_p.cpp
@@ -8800,7 +8800,6 @@ bool QMailStorePrivate::recalculateThreadsColumns(const QMailThreadIdList& modif
QMailThread thread(threadId);
uint messagesCount = 0;
uint unreadCount = 0;
- uint firstUnread = 0;
uint firstMessageIndex = 0;
uint lastMessageIndex = 0;
uint index = 0;
@@ -8823,7 +8822,6 @@ bool QMailStorePrivate::recalculateThreadsColumns(const QMailThreadIdList& modif
if (messagesCount == 0) firstMessageIndex = index;
messagesCount++;
if ((data.status() & QMailMessage::Read) == 0) {
- if (unreadCount == 0) firstUnread = messagesCount - 1;
++unreadCount;
}
}