From 9d3a908e9ed154294ed4c58429d22a9ff8541ba4 Mon Sep 17 00:00:00 2001 From: Andy Shaw Date: Tue, 11 Aug 2020 21:27:57 +0200 Subject: [PATCH] Doc: Change QPixmap::grabWindow with QScreen::grabWindow Change-Id: I68df86314cb8c3602d7ddbcf1e4527cf247d5fa1 Pick-to: 5.15 Reviewed-by: Paul Wicking --- src/widgets/kernel/qwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/kernel/qwidget.cpp b/src/widgets/kernel/qwidget.cpp index d2ce855bdd..2bfb4c3096 100644 --- a/src/widgets/kernel/qwidget.cpp +++ b/src/widgets/kernel/qwidget.cpp @@ -11122,7 +11122,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.