summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/libmailwrapper/statusmail.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/noncore/net/mail/libmailwrapper/statusmail.cpp b/noncore/net/mail/libmailwrapper/statusmail.cpp
index 7e14df3..4d87e56 100644
--- a/noncore/net/mail/libmailwrapper/statusmail.cpp
+++ b/noncore/net/mail/libmailwrapper/statusmail.cpp
@@ -49,3 +49,3 @@ void StatusMail::initAccounts(QList<Account>&accounts)
49 } 49 }
50 odebug << "Pop3 init count: " << currentPop3Stat.message_count << "" << oendl; 50 odebug << "Pop3 init count: " << currentPop3Stat.message_count << "" << oendl;
51 currentPop3Stat.message_recent = currentPop3Stat.message_unseen = 0; 51 currentPop3Stat.message_recent = currentPop3Stat.message_unseen = 0;
@@ -78,6 +78,8 @@ void StatusMail::check_current_stat(folderStat&targetStat)
78 currentPop3Stat.message_count+=currentStat.message_count; 78 currentPop3Stat.message_count+=currentStat.message_count;
79 odebug << "Pop3 count: " << currentPop3Stat.message_count << "" << oendl; 79 odebug << "Pop3 count: " << currentPop3Stat.message_count << "" << oendl;
80 } 80 }
81 } 81 }
82 odebug << "Pop3 last: " << lastPop3Stat.message_count << "" << oendl; 82 odebug << "Pop3 last: " << lastPop3Stat.message_count << "" << oendl;
83
84#if 0
83 if (currentPop3Stat.message_count > lastPop3Stat.message_count) { 85 if (currentPop3Stat.message_count > lastPop3Stat.message_count) {
@@ -89,2 +91,6 @@ void StatusMail::check_current_stat(folderStat&targetStat)
89 } 91 }
92#else
93 currentPop3Stat.message_recent = currentPop3Stat.message_unseen=currentPop3Stat.message_count;
94#endif
95
90 targetStat = currentImapStat; 96 targetStat = currentImapStat;