summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMorten Sorvig <msorvig@trolltech.com>2009-08-13 13:00:28 (GMT)
committerMorten Sorvig <msorvig@trolltech.com>2009-08-13 13:07:36 (GMT)
commitc3687d0e59632dd97645ea3c67478437ba8adb5a (patch)
tree7f539a1c88344995703562ac0ebf69f41d5436c8 /tests
parent9ae362b3b3341bfa09cab6992496b8d4af409d06 (diff)
downloadQt-c3687d0e59632dd97645ea3c67478437ba8adb5a.zip
Qt-c3687d0e59632dd97645ea3c67478437ba8adb5a.tar.gz
Qt-c3687d0e59632dd97645ea3c67478437ba8adb5a.tar.bz2
Fix crash/assert on Mac when painting "small" QPushButtons.
A QPushButton with a height if (say) three pixels would cause HIThemeGetButtonContentBounds ot return a rect with dimentions {int_min, int_min, 0, 0}. Detect that case and return the button rect instead. Reviewed-by: Trust Me
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions