Cocoa: fix modal native dialogs with ongoing modal sessions
authorTeemu Katajisto <teemu.katajisto@digia.com>
Thu, 29 Nov 2012 10:46:23 +0000 (12:46 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 1 Dec 2012 07:29:33 +0000 (08:29 +0100)
commit5dbcd9dfea9785befdbe051b926f1d4e4ad0980a
tree370a3b39e56c16dbecc7612ee3e3f1744cb8ba85
parenta7c9d5ca9c754902baa0fa5a6ba8b28864611ca5
Cocoa: fix modal native dialogs with ongoing modal sessions

Commit 26db7de13d5885067844532b5a5814181a0ddf16 introduced the
modal session cleanup for Cocoa print dialog before running the
modal event loop for the dialog. Add the same cleanup for Cocoa
file, font and color dialog helpers.

Task-number: QTBUG-28146

Change-Id: Ifeb7c82566db35f0c6654be7762e9aaffbafb900
Reviewed-by: Andy Shaw <andy.shaw@digia.com>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
src/plugins/platforms/cocoa/qcocoacolordialoghelper.mm
src/plugins/platforms/cocoa/qcocoafiledialoghelper.mm
src/plugins/platforms/cocoa/qcocoafontdialoghelper.mm