summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qapplication.cpp
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@nokia.com>2010-09-22 08:18:16 (GMT)
committerRichard Moe Gustavsen <richard.gustavsen@nokia.com>2010-09-22 08:29:04 (GMT)
commitc3ad479d449375ca4b600d62e4c72b34a36736d7 (patch)
treefdd87a3e530cad55ca25953f521c77ed9077a20c /src/gui/kernel/qapplication.cpp
parentdbe7af4ad982186d26f6e3dbf5dad8e97b318443 (diff)
downloadQt-c3ad479d449375ca4b600d62e4c72b34a36736d7.zip
Qt-c3ad479d449375ca4b600d62e4c72b34a36736d7.tar.gz
Qt-c3ad479d449375ca4b600d62e4c72b34a36736d7.tar.bz2
QTBUG-13301: The menubar does now work when no window is showing
The reason is that actions from the menu bar have no target, and is therefore sendt down the responder chain. This is sometimes neccessary to make it work with modal dialogs. But this also means that there will be no first responder window to catch the action if no window is showing on screen. Luckily, in 4.8, we added our own QNSApplication. And this will also be the last resort in the responder chaing. Hence, we add code to handle the menu bar action here. Rev-by: carlos
Diffstat (limited to 'src/gui/kernel/qapplication.cpp')
0 files changed, 0 insertions, 0 deletions