From 411a90deea1d10656f813e11b97ec21ee11a2c4b Mon Sep 17 00:00:00 2001 From: Nico Vertriest Date: Fri, 22 Feb 2019 10:55:44 +0100 Subject: Doc: Fix documentation errors - wrong file name for snippet file - instantiates statement provoking spurious errors Change-Id: I39d0852828c7382eda709bf32e2d6b3e6a8c6c53 Reviewed-by: Paul Wicking --- src/imports/xmllistmodel/qqmlxmllistmodel.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/imports/xmllistmodel/qqmlxmllistmodel.cpp b/src/imports/xmllistmodel/qqmlxmllistmodel.cpp index ba8d948..6dde104 100644 --- a/src/imports/xmllistmodel/qqmlxmllistmodel.cpp +++ b/src/imports/xmllistmodel/qqmlxmllistmodel.cpp @@ -91,7 +91,6 @@ typedef QPair QQuickXmlListRange; /*! \qmltype XmlRole - \instantiates QQuickXmlListModelRole \inqmlmodule QtQuick.XmlListModel \brief For specifying a role to an XmlListModel. \ingroup qtquick-models @@ -133,7 +132,7 @@ typedef QPair QQuickXmlListRange; For example, if there is an XML document like this: - \quotefile qml/xmlrole.xml + \quotefile qml/xmlrole.qml Here are some valid XPath expressions for XmlRole queries on this document: \snippet qml/xmlrole.qml 0 @@ -627,7 +626,6 @@ void QQuickXmlListModelPrivate::clear_role(QQmlListProperty