Fix KMail counting of unread messages in the system tray icon

Thanks to Francois Andriot
pull/21/head
Slávek Banko 12 years ago
parent c48253af15
commit 40c435e566

@ -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