Skip to content

Commit

Permalink
Doc: Change QPixmap::grabWindow with QScreen::grabWindow
Browse files Browse the repository at this point in the history
Change-Id: I68df86314cb8c3602d7ddbcf1e4527cf247d5fa1
Reviewed-by: Paul Wicking <[email protected]>
(cherry picked from commit 9d3a908)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
  • Loading branch information
AndyShawQt authored and Qt Cherry-pick Bot committed Aug 14, 2020
1 parent f966956 commit 940f898
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widgets/kernel/qwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11150,7 +11150,7 @@ bool QWidget::testAttribute_helper(Qt::WidgetAttribute attribute) const
\warning Changing this property from opaque to transparent might issue a
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
opaque windows.
Expand Down

0 comments on commit 940f898

Please sign in to comment.