From 91bf025444f13eb269ece6bb430a841638bb32a8 Mon Sep 17 00:00:00 2001 From: hjk Date: Tue, 22 Nov 2011 14:49:57 +0100 Subject: Add spaces for string concatenation to work around C++11 source incompatibility. Reviewed-by: Oswald Buddenhagen Task-number: QTBUG-22847 --- doc/src/snippets/code/doc_src_examples_icons.cpp | 2 +- doc/src/snippets/code/doc_src_examples_imageviewer.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/src/snippets') 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] -- cgit v1.2.1