summaryrefslogtreecommitdiffstats
path: root/src/scripttools
diff options
context:
space:
mode:
authorJason Barron <jbarron@trolltech.com>2009-06-16 09:45:30 (GMT)
committerJason Barron <jbarron@trolltech.com>2009-06-16 09:55:51 (GMT)
commit9d78e1132427ec803f08b2861ab27587ca72cfbf (patch)
tree181989d7442cd81fd975ae8d3f45aa184f4804cb /src/scripttools
parent18fcfc3576b7bcbcf3326697461f21fab990512b (diff)
downloadQt-9d78e1132427ec803f08b2861ab27587ca72cfbf.zip
Qt-9d78e1132427ec803f08b2861ab27587ca72cfbf.tar.gz
Qt-9d78e1132427ec803f08b2861ab27587ca72cfbf.tar.bz2
Update softkeys correctly when no focus widget is present.
In the case where there is no focus widget present, the button group container should be updated with the softkeys from the currently active window if it has softkeys. This patch enables this behavior. Also modify QMainWindow such that the soft keys are updated when the main window becomes the active window and not only when the menu bar is set. At the moment, this creates a new QAction and this should be changed since it will continuously grow the memory. As a final fix, move the soft key setting out of setFocus() because it is much to early. At the point, the widget does not know for certain that it actually will get focus since it could be disabled or have a focus proxy.
Diffstat (limited to 'src/scripttools')
0 files changed, 0 insertions, 0 deletions