diff options
author | Wang Chuan <ouchuanm@outlook.com> | 2020-06-26 23:43:26 +0800 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-07-02 04:17:52 +0200 |
commit | c513b1214e38829e9bc23bb2ef948f5c388071a7 (patch) | |
tree | a03bbb9419559308153b16bd85deefb3f73f6d50 /src/corelib/mimetypes/mimetypes_resources.cmake | |
parent | 843b40328610c5e61bd7cada03c2046ece788b02 (diff) |
QTabBar: make sure the tab is repainted after releasing mouse
The tab has to be repainted even f the mouse release event happened
outside the tab bar, otherwise it will look like the tab is still
pressed.
As a drive-by, replace the repaint() call with update(); there is
no need for synchronous painting in an event handler.
Pick-to: 5.15
Fixes: QTBUG-81637
Change-Id: Ia55182be906511ac3b462f00add8a621c6c05fc3
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/corelib/mimetypes/mimetypes_resources.cmake')
0 files changed, 0 insertions, 0 deletions