diff options
Diffstat (limited to 'kmail')
-rw-r--r-- | kmail/kmsystemtray.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kmail/kmsystemtray.cpp b/kmail/kmsystemtray.cpp index 3a1ab1ab5..001453a83 100644 --- a/kmail/kmsystemtray.cpp +++ b/kmail/kmsystemtray.cpp @@ -482,9 +482,9 @@ void KMSystemTray::updateNewMessages() /** The number of unread messages in that folder */ int unread = fldr->countUnread(); - TQMap<TQGuardedPtr<KMFolder>, int>::Iterator it = + TQMap<TQGuardedPtr<KMFolder>, int>::Iterator unread_it = mFoldersWithUnread.find(fldr); - bool unmapped = (it == mFoldersWithUnread.end()); + bool unmapped = (unread_it == mFoldersWithUnread.end()); /** If the folder is not mapped yet, increment count by numUnread in folder */ |