diff options
author | Morten Johan Sørvig <morten.sorvig@digia.com> | 2014-05-15 13:29:25 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-05-28 11:47:28 +0200 |
commit | 530607d8ba0dac8d91d20ec0e62d3129cb21e225 (patch) | |
tree | 3aa0dfe3fd60c979a18f8a5081c1cbadb3d30428 /examples | |
parent | 11fdc4f6c06922b474a311d7afb8a393686ddf13 (diff) | |
download | qtbase-530607d8ba0dac8d91d20ec0e62d3129cb21e225.tar.gz qtbase-530607d8ba0dac8d91d20ec0e62d3129cb21e225.tar.bz2 qtbase-530607d8ba0dac8d91d20ec0e62d3129cb21e225.zip |
Cocoa: Fix modal session cleanup.
Call [NSApp endModalSession] at the correct time.
Calling cleanupModalSessions() from processPostedEvents()
resulted in endModalSession being called from within
[NSApp runModalSession] - ending and cleaning up the
the modal session while Cocoa is still using it.
Move the cleanupModalSessions() call to to after
runModalSession returns.
Task-number: QTBUG-37699
Change-Id: I5868def36f6869667b0bbe33733286e3e49488eb
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions