diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2017-09-04 11:42:09 +0200 |
---|---|---|
committer | Topi Reiniƶ <topi.reinio@qt.io> | 2017-09-15 07:46:00 +0000 |
commit | c23c4a921d0e9e2d18a62af82d38ca27eac7bcb3 (patch) | |
tree | 91e934c1d65ab42e35c8d1c6d1e89e08ad76f506 /src/corelib/doc/snippets | |
parent | 5d48143ff8f358b3049279871e9959667e38b9e9 (diff) |
Fix documentation code snippet of QString::arg(QStringView)
Fix qdoc warning:
src/corelib/tools/qstring.cpp:7809: warning: Command '\snippet (//! [11-qstringview])' failed at end of file 'qstring/main.cpp'
Change-Id: Ie5a57bd94ba64ceab5179593f1df35be29c9985a
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/corelib/doc/snippets')
-rw-r--r-- | src/corelib/doc/snippets/qstring/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/doc/snippets/qstring/main.cpp b/src/corelib/doc/snippets/qstring/main.cpp index 3a6f6483fb..f740888fe7 100644 --- a/src/corelib/doc/snippets/qstring/main.cpp +++ b/src/corelib/doc/snippets/qstring/main.cpp @@ -263,14 +263,14 @@ void Widget::argFunction() //! [11] { - //! [11] + //! [11-qstringview] int i; // current file's number int total; // number of files to process QStringView fileName; // current file's name QString status = QString("Processing file %1 of %2: %3") .arg(i).arg(total).arg(fileName); - //! [11] + //! [11-qstringview] } //! [12] //! [13] |