summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2009-09-04 13:11:34 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2009-09-04 13:11:34 (GMT)
commit04802c1fe74439111c7bbe92fcb777dcbd618500 (patch)
tree9adb9c8ff1757152fa579318d8417ed16021310b /doc/src/snippets
parent45b3c4c151ad5c4d7361aa331bb4184bbed23681 (diff)
downloadQt-04802c1fe74439111c7bbe92fcb777dcbd618500.zip
Qt-04802c1fe74439111c7bbe92fcb777dcbd618500.tar.gz
Qt-04802c1fe74439111c7bbe92fcb777dcbd618500.tar.bz2
Doc: Fixed a code snippet demonstrating setStandardOutputProcess().
Task-number: 260654 Reviewed-by: Trust Me
Diffstat (limited to 'doc/src/snippets')
-rw-r--r--doc/src/snippets/code/src_corelib_io_qprocess.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/snippets/code/src_corelib_io_qprocess.cpp b/doc/src/snippets/code/src_corelib_io_qprocess.cpp
index e15b376..5ebb747 100644
--- a/doc/src/snippets/code/src_corelib_io_qprocess.cpp
+++ b/doc/src/snippets/code/src_corelib_io_qprocess.cpp
@@ -73,7 +73,7 @@ command1 | command2
QProcess process1;
QProcess process2;
-process1.setStandardOutputProcess(process2);
+process1.setStandardOutputProcess(&process2);
process1.start("command1");
process2.start("command2");