summaryrefslogtreecommitdiffstats
path: root/src/widgets/kernel
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2014-11-19 16:23:51 +0100
committerFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2014-12-04 06:33:03 +0100
commit8e9d78e43ef6dd7a6fc3be8874fc518db8537c91 (patch)
tree27a6173f225cf9049340e8ea6580918506191d09 /src/widgets/kernel
parent9fb4c2c412621b63c06dbbd899f44041b2e126c2 (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