diff options
author | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2010-06-04 10:12:01 (GMT) |
---|---|---|
committer | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2010-06-10 12:06:42 (GMT) |
commit | 7101ae5a0e90d97acf86a444c4d51ca45e7863fe (patch) | |
tree | e40aa11c165873378818fd2376dff4654f4c86aa /src/network | |
parent | 39e11b3f49fdc01155575f6d909efd92e435d5a6 (diff) | |
download | Qt-7101ae5a0e90d97acf86a444c4d51ca45e7863fe.zip Qt-7101ae5a0e90d97acf86a444c4d51ca45e7863fe.tar.gz Qt-7101ae5a0e90d97acf86a444c4d51ca45e7863fe.tar.bz2 |
QWidget::childAt for masked child widgets doesn't work properly
Problem was that we didn't take the children's effective mask
into account when checking whether a point was inside or not.
This commit is also an optimization since we no longer check the point
against the widget's rect twice. Furthermore, unnecessary
QRegion operations are completely avoided in the common case.
Auto tests included.
Task-number: QTBUG-7150
Reviewed-by: paul
Diffstat (limited to 'src/network')
0 files changed, 0 insertions, 0 deletions