summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2011-11-22 14:49:57 +0100
committerhjk <qthjk@ovi.com>2011-11-22 14:51:15 +0100
commit91bf025444f13eb269ece6bb430a841638bb32a8 (patch)
treebc55e4877fbab40f5bd044036d1a56bcea7d6b66 /doc
parent608c4766a8d1a30c773c8b0f0701c8e746215c80 (diff)
downloadqt4-tools-91bf025444f13eb269ece6bb430a841638bb32a8.tar.gz
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.cpp2
-rw-r--r--doc/src/snippets/code/doc_src_examples_imageviewer.cpp2
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 411c49fb8d..dfb0182144 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 c86f8ace40..07e50be479 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]