summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_script_qscriptengineagent.cpp
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@nokia.com>2009-11-12 09:56:07 (GMT)
committerRichard Moe Gustavsen <richard.gustavsen@nokia.com>2009-11-12 10:49:27 (GMT)
commit639b9c0286f0f2d5e50121df8d4125f029074510 (patch)
tree01cc6a0f3ef5e0fb1a7a665527b7c7109b889211 /doc/src/snippets/code/src_script_qscriptengineagent.cpp
parentc785d92153d23b836451b0643424b9871bcc4be9 (diff)
downloadQt-639b9c0286f0f2d5e50121df8d4125f029074510.zip
Qt-639b9c0286f0f2d5e50121df8d4125f029074510.tar.gz
Qt-639b9c0286f0f2d5e50121df8d4125f029074510.tar.bz2
Cocoa: QColorDialog makes the application hang
The reason is that the color dialog is using a native dialog. And this dialog enters modality on its own, bypassing the modality mechanism in Qt. Most important, when the dialog leaves modality, it does so by calling [NSApp stopModal]. And this call stops all modal sessions in the application, including the ones owned by Qt. This patch detects when this situation occurs, and makes sure that all modal sessions gets stopped the correct way, and later rebuilt. Rev-By: MortenS
Diffstat (limited to 'doc/src/snippets/code/src_script_qscriptengineagent.cpp')
0 files changed, 0 insertions, 0 deletions