Go to file
Gabriel de Dietrich 61b71b2baf Cocoa: Fix unresponsive main window after running more than one modal session
For some reason, we postpone clearing the stack of modal sessions until we call
processPostedEvents() again. However, it also means that when we clear the second
modal session, that session keeps running although we just closed its window. The
reason why it isn't stopped is because it wasn't the topmost modal session in the
stack.

This patch fixes the issue by stopping a modal session if any session above in the
stack has been stopped. This makes it less problematic if we don't call
processPostedEvents() in between ending modal sessions.

Task-number: QTBUG-30504
Change-Id: I9f898250ae629947d066647f9d5a0b9f75cf0070
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
2013-04-15 13:17:26 +02:00
bin don't complain about missing macros in <module>version.h 2013-04-02 18:58:28 +02:00
config.tests Android: Handle '<DRIVELETTER>:' in makeabs for Windows usage. 2013-04-12 22:43:19 +02:00
dist Merge branch 'release' into stable 2013-04-10 19:28:12 +02:00
doc qdoc: Added missing CPP ignore token, Q_QML_EXPORT 2013-04-08 11:35:44 +02:00
examples Doc: Fix network/torrent example to work on Qt 5 2013-04-04 08:37:04 +02:00
lib Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
mkspecs Added qtwaylandscanner rules to wayland-scanner.prf 2013-04-15 13:17:26 +02:00
qmake Write two missing linker options to the vcxproj file 2013-04-11 10:41:23 +02:00
src Cocoa: Fix unresponsive main window after running more than one modal session 2013-04-15 13:17:26 +02:00
tests QDateTime - Fix auto tests on Windows before 1980 2013-04-12 11:46:01 +02:00
tools Upgrade ANGLE to DX11 Proto 2013-04-08 11:35:44 +02:00
util Special case to work around upstream bug in gl.spec 2013-04-05 00:14:45 +02:00
.gitattributes Update the git-archive export options 2012-09-07 15:39:31 +02:00
.gitignore Long live QLockFile 2013-03-05 06:26:33 +01:00
.qmake.conf require modules to define their version 2013-03-06 18:01:13 +01:00
.tag Update the git-archive export options 2012-09-07 15:39:31 +02:00
configure iOS: Automatically disable rpath since it's not supported 2013-04-12 14:16:42 +02:00
configure.bat Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
header.BSD Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
header.FDL Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
header.LGPL Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
header.LGPL-ONLY Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
INSTALL INSTALL: Fix URL of Installing Qt documentation 2013-04-11 16:09:07 +02:00
LGPL_EXCEPTION.txt Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
LICENSE.FDL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LICENSE.GPL Add the LICENSE.GPL file to the module referenced from license headers 2012-05-20 22:41:08 +02:00
LICENSE.LGPL Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
LICENSE.PREVIEW.COMMERCIAL Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qtbase.pro create tool pri file for syncqt 2013-02-11 18:00:12 +01:00
sync.profile Hide Harfbuzz from the outer world 2013-03-13 14:46:26 +01:00