summaryrefslogtreecommitdiffstats
path: root/src/angle
diff options
context:
space:
mode:
authorOleg Yadrov <oleg.yadrov@qt.io>2017-02-17 11:23:46 -0800
committerOleg Yadrov <oleg.yadrov@qt.io>2017-02-17 19:29:44 +0000
commit10d0f4cba99d2386db28a3afd71832e35992b797 (patch)
tree7ea44c84e77fa7cb7b6b0e8cc677deda8c9c300f /src/angle
parent6c9b5581532388a36328d3fae82ad20c85dce58f (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 'src/angle')
0 files changed, 0 insertions, 0 deletions