diff options
author | Richard Moe Gustavsen <richard.gustavsen@nokia.com> | 2009-11-04 12:41:15 (GMT) |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@nokia.com> | 2009-11-04 13:39:32 (GMT) |
commit | 126638922389ca967c1a82b6254de8ac00042158 (patch) | |
tree | e5c3b64a038c476b6dbc01cb8a350ec5f64d6691 /src/gui/embedded/qmouselinuxinput_qws.h | |
parent | 052a34bef9cf682e3ea0e2183223b0dcab3c05b7 (diff) | |
download | Qt-126638922389ca967c1a82b6254de8ac00042158.zip Qt-126638922389ca967c1a82b6254de8ac00042158.tar.gz Qt-126638922389ca967c1a82b6254de8ac00042158.tar.bz2 |
Cocoa: QColorDialog crashing when selection colors from system palette
The reason was that we did not handle the color space of the selected
color correctly. When selection from the system palette, the color
points to an index rather than e.g. RGB directly. This patch closes
the gap.
Another, a bit more evil, crash comes when trying to click on
'SelectedMenuItemColor' from the 'Developer' palette. The exact
same behaviour occurs when testing a native cocoa app in xcode
directly. So, to handle this as gracefully as possible, we sourround
the 'run modal' call with try-catch, and makes sure that we don't
quit the dialog until the user actually tells it to.
Bugreport to Apple created (bugreport.apple.com): 7364080
Task-number: QTBUG-4578
Reviewed-by: Prasanth
Diffstat (limited to 'src/gui/embedded/qmouselinuxinput_qws.h')
0 files changed, 0 insertions, 0 deletions