summaryrefslogtreecommitdiffstats
path: root/examples/widgets/doc/src
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/doc/src')
-rw-r--r--examples/widgets/doc/src/basicdrawing.qdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/widgets/doc/src/basicdrawing.qdoc b/examples/widgets/doc/src/basicdrawing.qdoc
index a4606a29814..bbdd19ff22c 100644
--- a/examples/widgets/doc/src/basicdrawing.qdoc
+++ b/examples/widgets/doc/src/basicdrawing.qdoc
@@ -171,7 +171,7 @@
The QComboBox::itemData() function returns the data as a QVariant,
so we need to cast the data to \c RenderArea::Shape. If there is
no data for the given role, the function returns
- QVariant::Invalid.
+ QMetaType::UnknownType.
In the end we call the \c RenderArea::setShape() slot to update
the \c RenderArea widget.