OSX: Disable window restoration for the Mac color panel
authorLiang Qi <liang.qi@digia.com>
Tue, 6 Aug 2013 05:37:02 +0000 (07:37 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 23 Aug 2013 14:16:31 +0000 (16:16 +0200)
commitb2a91d3a918524f7e45f0f19d3f0efa4db0db709
treec8db024f8b74fcad7aeb1f9b89744086b1c0a301
parent29f11bf9316cda91ab7392e664fca97a08e73b70
OSX: Disable window restoration for the Mac color 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.

Task-number: QTBUG-31750
Change-Id: Ida063f2d36ab038af5e85de7dfa2acf61cb6dda2
(cherry-picked from qtbase commit 69554e458669c941130c2dc03d42a59ffd00e39e)
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
src/gui/dialogs/qcolordialog_mac.mm