diff options
author | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2014-11-19 16:23:51 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2014-12-04 06:33:03 +0100 |
commit | 8e9d78e43ef6dd7a6fc3be8874fc518db8537c91 (patch) | |
tree | 27a6173f225cf9049340e8ea6580918506191d09 /src/widgets/kernel | |
parent | 9fb4c2c412621b63c06dbbd899f44041b2e126c2 (diff) |
QMenuBar: fix extra indent on the right with a TopLeftCorner widget.
When setting a left corner widget on a QMenuBar, the first
action rectangle is offset by its width and thus the width
should not be added to the size hint. Use QSize::expandedTo()
instead.
Task-number: QTBUG-36010
Change-Id: I660e3facbd0aeb5fb84fac8923db3e0c7998309d
Reviewed-by: Jan Arve Sæther <jan-arve.saether@theqtcompany.com>
Diffstat (limited to 'src/widgets/kernel')
0 files changed, 0 insertions, 0 deletions