summaryrefslogtreecommitdiffstats
path: root/src/network/doc
diff options
context:
space:
mode:
authorNico Vertriest <nico.vertriest@qt.io>2021-01-22 16:18:42 +0100
committerKai Köhne <kai.koehne@qt.io>2021-08-12 07:48:49 +0200
commit8086bd3e9eabe95c1bc42635eddf875cb96d6124 (patch)
tree3591bb505a9f5a9672c8e06025d6c72c05d8d8f7 /src/network/doc
parentdde4061f37071b265162ab986d7dc1d3726390a1 (diff)
Fix invalid snippet reference in qtnetwork-index.html
snippets.pro lost the snippet marker in commit 63ec6263a5c72. Fix this by making the snippet inline. In Qt 6, this got resolved by commit 3183673303f6. However, this commit doesn't apply cleanly in 5.15. Change-Id: I1b03833c8ff17b5fca43a5b6c5417e8545b1711b Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/network/doc')
-rw-r--r--src/network/doc/src/qtnetwork.qdoc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/network/doc/src/qtnetwork.qdoc b/src/network/doc/src/qtnetwork.qdoc
index 57b0210b7f..3bdfaf0027 100644
--- a/src/network/doc/src/qtnetwork.qdoc
+++ b/src/network/doc/src/qtnetwork.qdoc
@@ -43,7 +43,9 @@
Add \c network to the \c QT variable:
- \snippet snippets.pro 0
+ \code
+ QT += network
+ \endcode
\section1 Articles and Guides