summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2018-11-02 13:43:05 +0100
committerLiang Qi <liang.qi@qt.io>2018-11-04 13:58:23 +0000
commitf1cf2c56c8dbf79e478a3e0a8f3d19032aa44d3a (patch)
tree7f41dd69ba3a7032cdf4288deda0010e72b77d3a /examples
parent52637083eeaa1ab4b9468813a28d40feea81ab5e (diff)
Doc: align the explanation with real code
Fixes: QTBUG-65661 Change-Id: I3f82bd3428c4a19f80864c376bda5d23b92c2896 Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/activeqt/hierarchy/doc/src/hierarchy.qdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/activeqt/hierarchy/doc/src/hierarchy.qdoc b/examples/activeqt/hierarchy/doc/src/hierarchy.qdoc
index 0b88a06..f618729 100644
--- a/examples/activeqt/hierarchy/doc/src/hierarchy.qdoc
+++ b/examples/activeqt/hierarchy/doc/src/hierarchy.qdoc
@@ -56,7 +56,7 @@
name. The widget is also shown explicitly.
\snippet activeqt/hierarchy/objects.cpp 2
- The \c subWidget slot uses the \c QObject::child() function and
+ The \c subWidget slot uses the \c QObject::findChild() function and
returns the first child of type \c QSubWidget that has the requested
name.