summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@theqtcompany.com>2015-01-29 17:06:21 +0100
committerShawn Rutledge <shawn.rutledge@digia.com>2015-02-09 07:37:06 +0000
commitb4491c358ddc4d87258d92bc7fc99832bc3cd526 (patch)
treec2fefa800443a16dfc23f68054331f7e0baee622 /src
parentf2b77e3ff71511944ad8da56cb63c4ca8daf6417 (diff)
Document that setGraphicsEffect is not suitable for GL widgets
Task-number: QTBUG-44188 Change-Id: Ie5bea14ffb804124421e97e5f49975ac9ad6d838 Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Diffstat (limited to 'src')
-rw-r--r--src/widgets/kernel/qwidget.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/widgets/kernel/qwidget.cpp b/src/widgets/kernel/qwidget.cpp
index 27d45ccea6..68715413d1 100644
--- a/src/widgets/kernel/qwidget.cpp
+++ b/src/widgets/kernel/qwidget.cpp
@@ -5227,6 +5227,9 @@ QGraphicsEffect *QWidget::graphicsEffect() const
\note This function will apply the effect on itself and all its children.
+ \note Graphics effects are not supported for OpenGL-based widgets, such as QGLWidget,
+ QOpenGLWidget and QQuickWidget.
+
\since 4.6
\sa graphicsEffect()