diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2019-08-16 17:07:08 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2019-08-20 21:09:04 +0200 |
commit | 5085f8e2115d105fe5c1e76c648c36cc1a80bdab (patch) | |
tree | 0126de5547591e397730325efa6ea0587dd033a7 /src/widgets/kernel/qwidgetrepaintmanager.cpp | |
parent | e2a1fb90154d8c0dd9b5def17c7062a0bdbebfd4 (diff) |
widgets: Remove unused arguments from QWidgetRepaintManager::beginPaint
Change-Id: I3720d8ef31e623e514fc2e382192d3c4f99fb4ed
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src/widgets/kernel/qwidgetrepaintmanager.cpp')
-rw-r--r-- | src/widgets/kernel/qwidgetrepaintmanager.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/widgets/kernel/qwidgetrepaintmanager.cpp b/src/widgets/kernel/qwidgetrepaintmanager.cpp index 1a967aa6ef..9d6e6b9c92 100644 --- a/src/widgets/kernel/qwidgetrepaintmanager.cpp +++ b/src/widgets/kernel/qwidgetrepaintmanager.cpp @@ -321,12 +321,8 @@ bool QWidgetRepaintManager::bltRect(const QRect &rect, int dx, int dy, QWidget * The \a toClean region might be clipped by the window surface. */ -void QWidgetRepaintManager::beginPaint(QRegion &toClean, QWidget *widget, QBackingStore *backingStore, - BeginPaintInfo *returnInfo, bool toCleanIsInTopLevelCoordinates) +void QWidgetRepaintManager::beginPaint(QRegion &toClean, QBackingStore *backingStore, BeginPaintInfo *returnInfo) { - Q_UNUSED(widget); - Q_UNUSED(toCleanIsInTopLevelCoordinates); - // Always flush repainted areas. dirtyOnScreen += toClean; @@ -1303,7 +1299,7 @@ void QWidgetRepaintManager::doSync() #endif BeginPaintInfo beginPaintInfo; - beginPaint(toClean, tlw, store, &beginPaintInfo); + beginPaint(toClean, store, &beginPaintInfo); // Must do this before sending any paint events because // the size may change in the paint event. |