widgets: Rename QWidgetRepaintManager::doSync to paintAndFlush
Change-Id: Ie41bb76d33d59f70eb418f845defc212396d3915 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
This commit is contained in:
parent
68cc2c2779
commit
a0484b8277
@ -846,7 +846,7 @@ void QWidgetRepaintManager::sync(QWidget *exposedWidget, const QRegion &exposedR
|
||||
markDirtyOnScreen(exposedRegion, exposedWidget, QPoint());
|
||||
|
||||
if (syncAllowed())
|
||||
doSync();
|
||||
paintAndFlush();
|
||||
}
|
||||
|
||||
/*!
|
||||
@ -871,10 +871,10 @@ void QWidgetRepaintManager::sync()
|
||||
}
|
||||
|
||||
if (syncAllowed())
|
||||
doSync();
|
||||
paintAndFlush();
|
||||
}
|
||||
|
||||
void QWidgetRepaintManager::doSync()
|
||||
void QWidgetRepaintManager::paintAndFlush()
|
||||
{
|
||||
const bool updatesDisabled = !tlw->updatesEnabled();
|
||||
bool repaintAllWidgets = false;
|
||||
|
@ -175,7 +175,8 @@ private:
|
||||
return !(dirtyWidgets.isEmpty() && dirty.isEmpty() && dirtyRenderToTextureWidgets.isEmpty());
|
||||
}
|
||||
|
||||
void doSync();
|
||||
void paintAndFlush();
|
||||
|
||||
void flush(QWidget *widget = nullptr);
|
||||
void flush(QWidget *widget, const QRegion ®ion, QPlatformTextureList *widgetTextures);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user