diff options
author | hjk <qtc-committer@nokia.com> | 2011-11-22 13:49:57 (GMT) |
---|---|---|
committer | hjk <qthjk@ovi.com> | 2011-11-22 13:51:15 (GMT) |
commit | 91bf025444f13eb269ece6bb430a841638bb32a8 (patch) | |
tree | bc55e4877fbab40f5bd044036d1a56bcea7d6b66 /doc | |
parent | 608c4766a8d1a30c773c8b0f0701c8e746215c80 (diff) | |
download | Qt-91bf025444f13eb269ece6bb430a841638bb32a8.zip Qt-91bf025444f13eb269ece6bb430a841638bb32a8.tar.gz Qt-91bf025444f13eb269ece6bb430a841638bb32a8.tar.bz2 |
Add spaces for string concatenation to work around C++11 source incompatibility.
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Task-number: QTBUG-22847
Diffstat (limited to 'doc')
-rw-r--r-- | doc/src/snippets/code/doc_src_examples_icons.cpp | 2 | ||||
-rw-r--r-- | doc/src/snippets/code/doc_src_examples_imageviewer.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/snippets/code/doc_src_examples_icons.cpp b/doc/src/snippets/code/doc_src_examples_icons.cpp index 411c49f..dfb0182 100644 --- a/doc/src/snippets/code/doc_src_examples_icons.cpp +++ b/doc/src/snippets/code/doc_src_examples_icons.cpp @@ -40,5 +40,5 @@ //! [0] if (!condition) - qFatal("ASSERT: "condition" in file ..."); + qFatal("ASSERT: " condition " in file ..."); //! [0] diff --git a/doc/src/snippets/code/doc_src_examples_imageviewer.cpp b/doc/src/snippets/code/doc_src_examples_imageviewer.cpp index c86f8ac..07e50be 100644 --- a/doc/src/snippets/code/doc_src_examples_imageviewer.cpp +++ b/doc/src/snippets/code/doc_src_examples_imageviewer.cpp @@ -45,7 +45,7 @@ imageLabel->resize(imageLabel->pixmap()->size()); //! [1] if (!imageLabel->pixmap()) - qFatal("ASSERT: "imageLabel->pixmap()" in file ..."); + qFatal("ASSERT: " imageLabel->pixmap() " in file ..."); //! [1] |