summaryrefslogtreecommitdiffstats
path: root/src/widgets/kernel/qwidget.cpp
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@qt.io>2020-08-11 21:27:57 +0200
committerAndy Shaw <andy.shaw@qt.io>2020-08-14 13:17:11 +0200
commit9d3a908e9ed154294ed4c58429d22a9ff8541ba4 (patch)
tree72643aade0fbba803261065e38a4bcfdcb145d17 /src/widgets/kernel/qwidget.cpp
parent06ffb912ca824ad98ae3685363c2e8087fc347b9 (diff)
Doc: Change QPixmap::grabWindow with QScreen::grabWindow
Change-Id: I68df86314cb8c3602d7ddbcf1e4527cf247d5fa1 Pick-to: 5.15 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/widgets/kernel/qwidget.cpp')
-rw-r--r--src/widgets/kernel/qwidget.cpp2
1 files changed, 1 insertions, 1 deletions
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.