Fix KMail counting of unread messages in the system tray icon

Thanks to Francois Andriot
(cherry picked from commit 40c435e566)
v3.5.13-sru
Slávek Banko 13 years ago
parent bfc5ca6c3f
commit 70ab4a6893

@ -493,7 +493,7 @@ void KMSystemTray::updateNewMessages()
* our last known version, and adjust mCount with that difference */ * our last known version, and adjust mCount with that difference */
else else
{ {
int diff = unread - it.data(); int diff = unread - unread_it.data();
mCount += diff; mCount += diff;
} }

Loading…
Cancel
Save