diff --git a/src/widgets/kernel/qwidget.cpp b/src/widgets/kernel/qwidget.cpp index b9628cfa1e..2c9cc5c07b 100644 --- a/src/widgets/kernel/qwidget.cpp +++ b/src/widgets/kernel/qwidget.cpp @@ -5203,7 +5203,7 @@ QPixmap QWidget::grab(const QRect &rectangle) QPixmap res(r.size()); if (!d->isOpaque) res.fill(Qt::transparent); - render(&res, QPoint(), QRegion(r), renderFlags); + d->render(&res, QPoint(), QRegion(r), renderFlags); d->dirtyOpaqueChildren = oldDirtyOpaqueChildren; return res;