diff options
author | David Boddie <dboddie@trolltech.com> | 2009-09-04 13:11:34 (GMT) |
---|---|---|
committer | David Boddie <dboddie@trolltech.com> | 2009-09-04 13:11:34 (GMT) |
commit | 04802c1fe74439111c7bbe92fcb777dcbd618500 (patch) | |
tree | 9adb9c8ff1757152fa579318d8417ed16021310b | |
parent | 45b3c4c151ad5c4d7361aa331bb4184bbed23681 (diff) | |
download | Qt-04802c1fe74439111c7bbe92fcb777dcbd618500.zip Qt-04802c1fe74439111c7bbe92fcb777dcbd618500.tar.gz Qt-04802c1fe74439111c7bbe92fcb777dcbd618500.tar.bz2 |
Doc: Fixed a code snippet demonstrating setStandardOutputProcess().
Task-number: 260654
Reviewed-by: Trust Me
-rw-r--r-- | doc/src/snippets/code/src_corelib_io_qprocess.cpp | 2 |
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"); |