diff options
author | Oleg Yadrov <oleg.yadrov@qt.io> | 2017-02-17 11:23:46 -0800 |
---|---|---|
committer | Oleg Yadrov <oleg.yadrov@qt.io> | 2017-02-17 19:29:44 +0000 |
commit | 10d0f4cba99d2386db28a3afd71832e35992b797 (patch) | |
tree | 7ea44c84e77fa7cb7b6b0e8cc677deda8c9c300f /LICENSE.GPLv3 | |
parent | 6c9b5581532388a36328d3fae82ad20c85dce58f (diff) |
QMacStyle::sizeFromContents: don't do anything in CT_Menu case
In this case we can safely return the same QSize which we accept since
it is already contains the right size for the given menu and this size
will be bounded to screen geometry before QMenu will be displayed
anyway. We also get rid of one dependency on HITheme.
Change-Id: I7502a96d180fc4a41ce3dfabe8a200b886016348
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@qt.io>
Diffstat (limited to 'LICENSE.GPLv3')
0 files changed, 0 insertions, 0 deletions