summaryrefslogtreecommitdiff
path: root/misc/kdepim3/patches/patch-kmail_kmsystemtray.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'misc/kdepim3/patches/patch-kmail_kmsystemtray.cpp')
-rw-r--r--misc/kdepim3/patches/patch-kmail_kmsystemtray.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/misc/kdepim3/patches/patch-kmail_kmsystemtray.cpp b/misc/kdepim3/patches/patch-kmail_kmsystemtray.cpp
new file mode 100644
index 00000000000..60bda03917b
--- /dev/null
+++ b/misc/kdepim3/patches/patch-kmail_kmsystemtray.cpp
@@ -0,0 +1,18 @@
+$NetBSD: patch-kmail_kmsystemtray.cpp,v 1.1 2012/05/04 16:27:59 joerg Exp $
+
+--- kmail/kmsystemtray.cpp.orig 2012-04-27 16:31:37.000000000 +0000
++++ kmail/kmsystemtray.cpp
+@@ -464,10 +464,10 @@ void KMSystemTray::updateNewMessageNotif
+
+ void KMSystemTray::updateNewMessages()
+ {
+- for ( QMap<QGuardedPtr<KMFolder>, bool>::Iterator it = mPendingUpdates.begin();
+- it != mPendingUpdates.end(); ++it)
++ for ( QMap<QGuardedPtr<KMFolder>, bool>::Iterator it2 = mPendingUpdates.begin();
++ it2 != mPendingUpdates.end(); ++it2)
+ {
+- KMFolder *fldr = it.key();
++ KMFolder *fldr = it2.key();
+ if ( !fldr ) // deleted folder
+ continue;
+