Doc: Change QPixmap::grabWindow with QScreen::grabWindow

Change-Id: I68df86314cb8c3602d7ddbcf1e4527cf247d5fa1
Pick-to: 5.15
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
This commit is contained in:
Andy Shaw 2020-08-11 21:27:57 +02:00
parent 06ffb912ca
commit 9d3a908e9e

View File

@ -11122,7 +11122,7 @@ bool QWidget::testAttribute_helper(Qt::WidgetAttribute attribute) const
\warning Changing this property from opaque to transparent might issue a \warning Changing this property from opaque to transparent might issue a
paint event that needs to be processed before the window is displayed paint event that needs to be processed before the window is displayed
correctly. This affects mainly the use of QPixmap::grabWindow(). Also note correctly. This affects mainly the use of QScreen::grabWindow(). Also note
that semi-transparent windows update and resize significantly slower than that semi-transparent windows update and resize significantly slower than
opaque windows. opaque windows.