          }
      }
      currentModalSessionCached = 0;
-@@ -923,12 +959,15 @@
+@@ -923,12 +968,15 @@
              currentModalSessionCached = info.session;
              break;
          }

             }
         }
     }
@@ -1044,8 +1089,9 @@
     }
 
 #ifdef QT_MAC_USE_COCOA

diff -ruN qt-4.8.6/src/gui/kernel/qeventdispatcher_mac.mm qt-4.8.6-new/src/gui/kernel/qeventdispatcher_mac.mm
--- qt-4.8.6/src/gui/kernel/qeventdispatcher_mac.mm	2014-04-10 08:37:12.000000000 -1000
+++ qt-4.8.6-new/src/gui/kernel/qeventdispatcher_mac.mm	2015-01-20 14:42:34.000000000 -1000
@@ -558,7 +558,6 @@
 
     // In case we end up recursing while we now process events, make sure
