widgets: Remove unused arguments from QWidgetRepaintManager::beginPaint
Change-Id: I3720d8ef31e623e514fc2e382192d3c4f99fb4ed Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
This commit is contained in:
parent
e2a1fb9015
commit
5085f8e211
@ -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.
|
||||
|
@ -148,8 +148,7 @@ private:
|
||||
void doSync();
|
||||
bool bltRect(const QRect &rect, int dx, int dy, QWidget *widget);
|
||||
|
||||
void beginPaint(QRegion &toClean, QWidget *widget, QBackingStore *backingStore,
|
||||
BeginPaintInfo *returnInfo, bool toCleanIsInTopLevelCoordinates = true);
|
||||
void beginPaint(QRegion &toClean, QBackingStore *backingStore, BeginPaintInfo *returnInfo);
|
||||
void endPaint(const QRegion &cleaned, QBackingStore *backingStore, BeginPaintInfo *beginPaintInfo);
|
||||
|
||||
QRegion dirtyRegion(QWidget *widget = nullptr) const;
|
||||
|
Loading…
x
Reference in New Issue
Block a user