summaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
authorCarlos Manuel Duclos Vergara <carlos.duclos@nokia.com>2010-05-20 12:17:58 +0200
committerCarlos Manuel Duclos Vergara <carlos.duclos@nokia.com>2010-05-20 12:22:36 +0200
commit65a673f7ab1955e277246e4c88bec46493265cf3 (patch)
treeb5fe59da87a422682b2f7eaec2c66a6b5d605877 /dist
parent16f44ee07db46ad362a464afc2c6e6567c933870 (diff)
QPushButton's click area exceeds the button area by far on Mac OS X
The problem is the "rounding" of buttons in OSX. To achieve this we add some padding to the buttons, therefore creating an inner rect for the widget. The common hitButton(...) method found in QAbstractButton just checks the normal rect of the widget. What this patch does is to reimplement hitButton(...) in QPushButton, but only for the Mac case. In this reimplemented method I calculate the inner rect and check if the hit point is inside that rect or not. Task-number: QTBUG-10401 Reviewed-by: Richard Moe Gustavsen
Diffstat (limited to 'dist')
0 files changed, 0 insertions, 0 deletions