summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/mangenerator.h
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@nokia.com>2010-04-21 08:00:32 (GMT)
committerRichard Moe Gustavsen <richard.gustavsen@nokia.com>2010-04-21 08:00:32 (GMT)
commit11dad6b10cbf4f3727e03669cfa04a623f1b6308 (patch)
tree3b693bb3e19625afe6f88eb1c3e8b23e43df7586 /tools/qdoc3/mangenerator.h
parentc9a5b8f0d840e67ad33839c8c310aef73a8a855c (diff)
downloadQt-11dad6b10cbf4f3727e03669cfa04a623f1b6308.zip
Qt-11dad6b10cbf4f3727e03669cfa04a623f1b6308.tar.gz
Qt-11dad6b10cbf4f3727e03669cfa04a623f1b6308.tar.bz2
Default (Parentless) QMenuBar actions do not work (without autotest)
This bug is a bit nasty. The problem is that Cocoa is trying to be smart behind our back, and enable/disable menu items depending on the menu item targets. But in Qt, we have a different policy that Cocoa on when a menu bar should be disabled or not. E.g. we allow a modal dialog to access the application menu bar if it is the only window on screen. This patch will work around cocoa being smart by setting the menu item targets dynamically, depending on the modal state of Qt. Setting it to nil will make the items enabled when there is a modal dialog on screen, and setting it to the menu loader will enable it when there is _no_ window on screen at all. Task-number: QTBUG-9209 Reviewed-by: prasanth
Diffstat (limited to 'tools/qdoc3/mangenerator.h')
0 files changed, 0 insertions, 0 deletions