summaryrefslogtreecommitdiffstats
path: root/tests/auto/qdoc/generatedoutput/testdata
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2020-07-27 13:39:36 +0200
committerTopi Reinio <topi.reinio@qt.io>2020-08-07 12:49:24 +0200
commit98cca5ff823fe2d4e41f45173e0675bcdf9e2542 (patch)
treed0da68d2131d6cdb811bbe4c333fab187c51a4f6 /tests/auto/qdoc/generatedoutput/testdata
parentb0be77c9c58fab9a164126fb35b4b3999a42e089 (diff)
qdoc: Correctly handle default values for \qmlmethod parameters
The QML parser in QDoc was already able to parse default parameter values listed for \qmlmethod in a .qml file, but they were not handled when the command appeared in a .cpp or .qdoc file as a different code path is used for those. Pick-to: 5.15 Fixes: QTBUG-85756 Change-Id: I671a19b66f82e1a6cd81b8bb487dffa2133ee65d Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'tests/auto/qdoc/generatedoutput/testdata')
-rw-r--r--tests/auto/qdoc/generatedoutput/testdata/qml/parent.qdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qdoc/generatedoutput/testdata/qml/parent.qdoc b/tests/auto/qdoc/generatedoutput/testdata/qml/parent.qdoc
index b52f125e8..c3db549eb 100644
--- a/tests/auto/qdoc/generatedoutput/testdata/qml/parent.qdoc
+++ b/tests/auto/qdoc/generatedoutput/testdata/qml/parent.qdoc
@@ -40,7 +40,7 @@
*/
/*!
- \qmlmethod void AbstractParent::rear(Child child, var method)
+ \qmlmethod void AbstractParent::rear(Child child, var method = Strict)
\brief Do some abstract parenting on \a child using a specific \a method.
*/