summaryrefslogtreecommitdiffstats
path: root/doc/src/objectmodel/signalsandslots.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/objectmodel/signalsandslots.qdoc')
-rw-r--r--doc/src/objectmodel/signalsandslots.qdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/objectmodel/signalsandslots.qdoc b/doc/src/objectmodel/signalsandslots.qdoc
index 4c018b54fc..8b52df5b1a 100644
--- a/doc/src/objectmodel/signalsandslots.qdoc
+++ b/doc/src/objectmodel/signalsandslots.qdoc
@@ -440,7 +440,7 @@
You can even use both mechanisms in the same project. Just add the
following line to your qmake project (.pro) file.
- \snippet doc/src/snippets/code/doc_src_containers.qdoc 22
+ \snippet doc/src/snippets/code/doc_src_containers.cpp 22
It tells Qt not to define the moc keywords \c{signals}, \c{slots},
and \c{emit}, because these names will be used by a 3rd party