summaryrefslogtreecommitdiffstats
path: root/src/widgets/kernel/qwidget.cpp
diff options
context:
space:
mode:
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 09bbb9563c8..9b4a4bdc124 100644
--- a/src/widgets/kernel/qwidget.cpp
+++ b/src/widgets/kernel/qwidget.cpp
@@ -9096,7 +9096,7 @@ QLayout *QWidget::layout() const
Example:
- \snippet uitools/textfinder/textfinder.cpp 3b
+ \snippet layouts/layouts.cpp 24
An alternative to calling this function is to pass this widget to
the layout's constructor.