summaryrefslogtreecommitdiffstats
path: root/src/testlib
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@nokia.com>2010-03-01 12:09:11 (GMT)
committerRichard Moe Gustavsen <richard.gustavsen@nokia.com>2010-03-01 12:51:50 (GMT)
commitdd4079c6c465c80104ff0ea1cda681ed7cc18310 (patch)
tree0a44a50d1ec65b124e7c27a1c113e1b4e8a004fe /src/testlib
parentc14e9bb7d8bb86129983df96dc5f8926190f5b06 (diff)
downloadQt-dd4079c6c465c80104ff0ea1cda681ed7cc18310.zip
Qt-dd4079c6c465c80104ff0ea1cda681ed7cc18310.tar.gz
Qt-dd4079c6c465c80104ff0ea1cda681ed7cc18310.tar.bz2
Mac: using Qt to write plugins disables quit for 3rd party application
The reason is that qt_init always installs/overwrites apple event handlers. So if the 3rd party app had already installed an event handler for kAEQuit, then it will be removed when the Qt plugin is loaded. This patch checks (in the carbon case) if event handlers already exists before installing new ones, or, in the cocoa case, avoids installing apple event handlers if the AA_MacPluginApplication is set. In other words, handling quit etc is seen as the responsibility of the app, and not the plugin. Task-number: QTBUG-8087 Reviewed-by: prasanth
Diffstat (limited to 'src/testlib')
0 files changed, 0 insertions, 0 deletions