diff options
author | Gabriel de Dietrich <gabriel.dedietrich@qt.io> | 2016-10-24 13:49:41 -0700 |
---|---|---|
committer | Morten Johan Sørvig <morten.sorvig@qt.io> | 2016-10-28 12:13:38 +0000 |
commit | f9280ba45ed6e492871cd25026a1bce7a17042dc (patch) | |
tree | c1cc2911511bfcfb6a90b4e3affb0280ff7a789a /src/widgets | |
parent | af3e697ad60358d5a68b8692ee4d2e4f92ab65f8 (diff) |
QNSColorPanelDelegate: Don't restore stolen view on dealloc
We may not be playing nice with Cocoa's internals when
we decide to reparent NSColorPanel's contents to add
QColorDialog's own OK/Cancel buttons. In order to reduce
issues, we should avoid poking at things during the
application's shutdown sequence. Simply releasing the
stolen view should be enough at that point.
A similar pattern exists in QNSFontPanelDelegate.
Change-Id: I678c236e0c57c4d08a1109a479d965f924288c54
Task-number: QTBUG-56448
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@theqtcompany.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
Diffstat (limited to 'src/widgets')
0 files changed, 0 insertions, 0 deletions