Merge branch 'Plasma/5.16'
This commit is contained in:
commit
394d45d1d7
3 changed files with 3 additions and 3 deletions
|
@ -88,7 +88,7 @@ void X11Renderer::render()
|
|||
bottom = bottom.intersected(geometry);
|
||||
|
||||
auto renderPart = [this, c](const QRect &geo) {
|
||||
if (geo.isNull()) {
|
||||
if (!geo.isValid()) {
|
||||
return;
|
||||
}
|
||||
QImage image = renderToImage(geo);
|
||||
|
|
|
@ -2490,7 +2490,7 @@ void SceneOpenGLDecorationRenderer::render()
|
|||
const QRect geometry = dirty ? QRect(QPoint(0, 0), client()->client()->geometry().size()) : scheduled.boundingRect();
|
||||
|
||||
auto renderPart = [this](const QRect &geo, const QRect &partRect, const QPoint &offset, bool rotated = false) {
|
||||
if (geo.isNull()) {
|
||||
if (!geo.isValid()) {
|
||||
return;
|
||||
}
|
||||
QImage image = renderToImage(geo);
|
||||
|
|
|
@ -1231,7 +1231,7 @@ void SceneXRenderDecorationRenderer::render()
|
|||
xcb_create_gc(c, m_gc, m_pixmaps[int(DecorationPart::Top)], 0, nullptr);
|
||||
}
|
||||
auto renderPart = [this, c](const QRect &geo, const QPoint &offset, int index) {
|
||||
if (geo.isNull()) {
|
||||
if (!geo.isValid()) {
|
||||
return;
|
||||
}
|
||||
QImage image = renderToImage(geo);
|
||||
|
|
Loading…
Reference in a new issue