diff options
author | David Boddie <david.boddie@nokia.com> | 2011-02-07 13:04:48 (GMT) |
---|---|---|
committer | David Boddie <david.boddie@nokia.com> | 2011-02-07 13:04:48 (GMT) |
commit | 6d6cd91519842b18b2d520391d330346a2f6def1 (patch) | |
tree | 957d18172896e21475629b14d535c36f52b7bcac /doc/src/snippets/code | |
parent | eb5e587af8867fa57ee764441905bdf982ab43c6 (diff) | |
download | Qt-6d6cd91519842b18b2d520391d330346a2f6def1.zip Qt-6d6cd91519842b18b2d520391d330346a2f6def1.tar.gz Qt-6d6cd91519842b18b2d520391d330346a2f6def1.tar.bz2 |
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.cpp | 2 |
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 2494eb2..11f5163 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(); |