summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2018-09-12 12:32:47 +0200
committerTopi Reiniƶ <topi.reinio@qt.io>2018-09-13 11:56:54 +0000
commit4bfbdd3d061e88de147102db94e70283b89ffff5 (patch)
tree36b0dd6dab7923ca3c91891a212597f497a65e11
parent3608a03b3aec7b2abcb5df61c105ef7ed111b4d3 (diff)
Doc: Fix \code usagev5.12.0-beta1
As QDoc now accept parameters for \code, following inline use: /code ... /endcode no longer works (and it never was documented to work). Change-Id: If4ee0eb9af0e6a115216398b52f2592ea709276b Reviewed-by: Martin Smith <martin.smith@qt.io>
-rw-r--r--src/serialbus/doc/src/qtserialbus-module-cpp.qdoc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/serialbus/doc/src/qtserialbus-module-cpp.qdoc b/src/serialbus/doc/src/qtserialbus-module-cpp.qdoc
index 6280f6f..74123fc 100644
--- a/src/serialbus/doc/src/qtserialbus-module-cpp.qdoc
+++ b/src/serialbus/doc/src/qtserialbus-module-cpp.qdoc
@@ -40,7 +40,9 @@
For C++ projects include the header appropriate for the current use case,
for example applications using the CAN bus device may use
- \code #include <QCanBusDevice> \endcode
+ \code
+ #include <QCanBusDevice>
+ \endcode
The .pro file should have the \e serialbus keyword added