summaryrefslogtreecommitdiff
path: root/doc/src/snippets/code
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@nokia.com>2011-02-07 14:04:48 +0100
committerDavid Boddie <david.boddie@nokia.com>2011-02-07 14:04:48 +0100
commit6d6cd91519842b18b2d520391d330346a2f6def1 (patch)
tree957d18172896e21475629b14d535c36f52b7bcac /doc/src/snippets/code
parenteb5e587af8867fa57ee764441905bdf982ab43c6 (diff)
downloadqt4-tools-6d6cd91519842b18b2d520391d330346a2f6def1.tar.gz
Doc: Fixed warnings and other problems found while fixing markup.
Diffstat (limited to 'doc/src/snippets/code')
-rw-r--r--doc/src/snippets/code/src_corelib_concurrent_qtconcurrentrun.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/snippets/code/src_corelib_concurrent_qtconcurrentrun.cpp b/doc/src/snippets/code/src_corelib_concurrent_qtconcurrentrun.cpp
index 2494eb24c0..11f5163f50 100644
--- a/doc/src/snippets/code/src_corelib_concurrent_qtconcurrentrun.cpp
+++ b/doc/src/snippets/code/src_corelib_concurrent_qtconcurrentrun.cpp
@@ -75,7 +75,7 @@ QString result = future.result();
//! [4]
// call 'QList<QByteArray> QByteArray::split(char sep) const' in a separate thread
-QByteArray bytearray = "hello world;
+QByteArray bytearray = "hello world";
QFuture<QList<QByteArray> > future = QtConcurrent::run(bytearray, &QByteArray::split), ',');
...
QList<QByteArray> result = future.result();