diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2019-08-21 15:01:30 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2019-08-22 09:44:08 +0200 |
commit | c937f80fe5f8c13ef99882ba96b11fbea0cba156 (patch) | |
tree | 4eb895ea53973932ca5e1622ae99a895efab6f5b /src/widgets/kernel/qwidgetrepaintmanager_p.h | |
parent | 44fc2914be67055bbe609790fb7eaf1a643758e2 (diff) |
widgets: Simplify QWidgetRepaintManager::qt_flush
No longer static, so we can access the members directly instead of
passing them as arguments. Renamed to flush() while we're at it.
Otherwise no changes to the code, just moved the function.
Change-Id: Id491a8628c8cecf7cf3b33d3458e7427f5bcd22e
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src/widgets/kernel/qwidgetrepaintmanager_p.h')
-rw-r--r-- | src/widgets/kernel/qwidgetrepaintmanager_p.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/widgets/kernel/qwidgetrepaintmanager_p.h b/src/widgets/kernel/qwidgetrepaintmanager_p.h index 482cae4020..0620ab99e2 100644 --- a/src/widgets/kernel/qwidgetrepaintmanager_p.h +++ b/src/widgets/kernel/qwidgetrepaintmanager_p.h @@ -131,10 +131,7 @@ private: void sendUpdateRequest(QWidget *widget, UpdateTime updateTime); - static void qt_flush(QWidget *widget, const QRegion ®ion, QBackingStore *backingStore, - QWidget *tlw, - QPlatformTextureList *widgetTextures, - QWidgetRepaintManager *repaintManager); + void flush(QWidget *widget, const QRegion ®ion, QPlatformTextureList *widgetTextures); void doSync(); bool bltRect(const QRect &rect, int dx, int dy, QWidget *widget); |