summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2012-10-04 13:09:02 (GMT)
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-14 12:54:55 (GMT)
commitb6db048a63ed2f861201324bdbc0257736f4ddde (patch)
tree832022f48ddd69ca86ab86b72583f56b2fb416e6 /tests
parent98b49f88fa1dfe593bf8e4291bd12419d47c26aa (diff)
downloadQt-b6db048a63ed2f861201324bdbc0257736f4ddde.zip
Qt-b6db048a63ed2f861201324bdbc0257736f4ddde.tar.gz
Qt-b6db048a63ed2f861201324bdbc0257736f4ddde.tar.bz2
Fix scrolldown arrow not showing on popup for QMenu
Scrolldown arrow was not shown when a taller than screen QMenu was opened because the check to draw it used the size that was already adjusted to the screen. Fixed by using the actual menu size in the check. Also fixed the case where the menu was scrolled, closed, and reopened, in which case the size hint would return incorrect cached value. This led to scrolldown arrow not being shown in case the menu was previously fully scrolled down. Task-number: QTBUG-27445 Change-Id: Icd8d774071662a9317b3ac53cb05b31cadba96ff Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> (cherry picked from qt5/qtbase commit fe8eb057fa05433e96de21df34871647f421f962))
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions