summaryrefslogtreecommitdiffstats
path: root/src/plugins/sqldrivers/mysql/qsql_mysql_p.h
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2021-12-06 18:04:26 +0100
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2021-12-08 23:06:42 +0000
commitb886a7ca65d566538f81b369f548943cd5e8ce08 (patch)
tree70d05707ea52a74ca103ac3e482c83149937bf2a /src/plugins/sqldrivers/mysql/qsql_mysql_p.h
parent9ad00e4b3f4d71f31ba041af623741522a221ffc (diff)
Add unit test for moving of opaque widgets
Expose QWidgetRepaintManager's data structures so that we can write unit tests, and verify that they are correct after moving opaque widgets (which triggers the accelerated move code path). Improve the compareWidget logic to not rely on screen grabbing (which requires permissions), but instead use QPlatformBackingStore's toImage function, which is faster and more reliable, and also doesn't require us to show the UI we want to grab full screen in order to avoid issues with overlapping windows etc. Change-Id: Iff2ea419f03a390ab6baca26814fef6ff45f7470 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/plugins/sqldrivers/mysql/qsql_mysql_p.h')
0 files changed, 0 insertions, 0 deletions