summaryrefslogtreecommitdiffstats
path: root/doc/src/examples/simpledommodel.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/examples/simpledommodel.qdoc')
-rw-r--r--doc/src/examples/simpledommodel.qdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/examples/simpledommodel.qdoc b/doc/src/examples/simpledommodel.qdoc
index ea380bdcbd..9b4d80ec8a 100644
--- a/doc/src/examples/simpledommodel.qdoc
+++ b/doc/src/examples/simpledommodel.qdoc
@@ -53,7 +53,7 @@
snippet reads the contents of a file into a QDomDocument object and traverses the
document, reading all the plain text that can be found:
- \snippet doc/src/snippets/code/doc_src_examples_simpledommodel.qdoc 0
+ \snippet doc/src/snippets/code/doc_src_examples_simpledommodel.cpp 0
In principle, the functions provided by QDomNode can be used to navigate from any
given starting point in a document to the piece of data requested by another component.