OSX: Disable window restoration for the Mac font panel
authorLiang Qi <liang.qi@digia.com>
Tue, 6 Aug 2013 05:38:11 +0000 (07:38 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 23 Aug 2013 14:16:40 +0000 (16:16 +0200)
commitaf9ecedd523e5d41983160a9832bb8d90a1c5391
tree88020bacc3f753c261c28d50b3b05d94443c7507
parentb2a91d3a918524f7e45f0f19d3f0efa4db0db709
OSX: Disable window restoration for the Mac font panel

because if it is automatically restored it's out of the application's
control, so the user's interaction will be ignored.  Change
I8ce3cd94f5ae81d7877a346743ca4e0e188baa02 did this for normal windows
by default, but the dialog helpers generate windows which aren't
affected by that.

Change-Id: I46ce3f85ee0c11dca778eb663c87774e322d6b6b
(cherry-picked from qtbase commit c9182bc11b77675405941a0a163603cac064d8bc)
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
src/gui/dialogs/qfontdialog_mac.mm