diff options
author | Sami Merilä <sami.merila@nokia.com> | 2009-11-03 12:02:03 (GMT) |
---|---|---|
committer | Sami Merilä <sami.merila@nokia.com> | 2009-11-03 12:02:03 (GMT) |
commit | dc89c842779f87ce69882ba54fa8d5bb79e0edbd (patch) | |
tree | 7d13c2ff7d67c1151e5d8623f503410e62f8e791 /src/gui/kernel/qevent.cpp | |
parent | cb396cf4851b961fb42e21866d7467efb3642a04 (diff) | |
download | Qt-dc89c842779f87ce69882ba54fa8d5bb79e0edbd.zip Qt-dc89c842779f87ce69882ba54fa8d5bb79e0edbd.tar.gz Qt-dc89c842779f87ce69882ba54fa8d5bb79e0edbd.tar.bz2 |
QS60Style: impossible to open menu from styled QToolButton
QS60Style ignores toolButton's menu indicator rect. This means that the
button's menu cannot be triggered by the user, as the style does not
draw the indicator at all.
With this fix, style calculates a rect (including margins) for menu
indicator and draws that (arrow down) into toolButton (by making the
button bevel larger).
Task-number: QTBUG-5266
Reviewed-by: Alessandro Portale
Diffstat (limited to 'src/gui/kernel/qevent.cpp')
0 files changed, 0 insertions, 0 deletions