summaryrefslogtreecommitdiffstats
path: root/kmail/kmsystemtray.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <[email protected]>2012-04-27 23:16:05 -0500
committerDarrell Anderson <[email protected]>2012-04-27 23:16:05 -0500
commitc94de3afa90f38fab67604732a4540b768a007b8 (patch)
treed54c831ee3b4a6fb395328c3fc8e7d588311b440 /kmail/kmsystemtray.cpp
parenta2a1f1a0ad7d3fa017c587bfe7f92143e3a36048 (diff)
downloadtdepim-c94de3afa90f38fab67604732a4540b768a007b8.tar.gz
tdepim-c94de3afa90f38fab67604732a4540b768a007b8.zip
GCC 4.7 fix.
This partially resolves bug report 958. Thanks to David C. Rankin.
Diffstat (limited to 'kmail/kmsystemtray.cpp')
-rw-r--r--kmail/kmsystemtray.cpp4
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 */