summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@qt.io>2018-11-08 14:11:11 +0100
committerRichard Moe Gustavsen <richard.gustavsen@qt.io>2018-11-27 14:59:52 +0000
commitf1812aad895ed2b8337a6d98d05623714680aba9 (patch)
tree9ad9d74dea7feb0775a03edae793a7c01ac3f10a /mkspecs
parenta5e32f93759db5aff30994546cd1cc172e6a57dc (diff)
QFocusFrame: protect it from being moved around by accident
If a focus frame is set around a widget that exist inside a QAbstractItemView, both the focus frame and the widget will be scrolled when the table is scrolled (since the focus frame is a child of the view). The result is that after the widget has been scrolled (which will move the focus frame to the correct position as well), the focus frame will be scrolled next, and therefore away from the widget. This patch will catch this case by always adjusting the focus frame position when someone tries to move it. Trying to move the focus frame away from the widget it tracks will anyway be flaky. Fixes: QTBUG-63877 Change-Id: Ic2aacc4fafc219280e32092c258a7539d0db9cd0 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'mkspecs')
0 files changed, 0 insertions, 0 deletions