summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@nokia.com>2009-07-28 13:54:20 (GMT)
committerRichard Moe Gustavsen <richard.gustavsen@nokia.com>2009-07-28 13:59:21 (GMT)
commitb0482e0b13ea3c20674515ffdafb66c14231cc56 (patch)
tree2f1c00258544d473b65f1b1d1fdcbf31cac46fd9 /util
parentac92e906114ed7216cfd99e0deecfb7be0fd91ec (diff)
downloadQt-b0482e0b13ea3c20674515ffdafb66c14231cc56.zip
Qt-b0482e0b13ea3c20674515ffdafb66c14231cc56.tar.gz
Qt-b0482e0b13ea3c20674515ffdafb66c14231cc56.tar.bz2
Regression: QColorDialog crash on Mac when accepting with keyboard
Basically, the crash happends because we release the dialog when the ok button is clicked. But when the button is clicked with the keyboard (actually cocoa emulates a click when pressing enter), it also tries to do some focus handling on the button afterwards. But at that point, the button is already freed up. With a crash as the result. This patch goes through a lot of the code, and rewrites it so we doesnt free up the cocoa objects before the destructor of the QColorDialog is called. Task-number: 258445 Reviewed-by: msorvig
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions