From 04802c1fe74439111c7bbe92fcb777dcbd618500 Mon Sep 17 00:00:00 2001 From: David Boddie Date: Fri, 4 Sep 2009 15:11:34 +0200 Subject: Doc: Fixed a code snippet demonstrating setStandardOutputProcess(). Task-number: 260654 Reviewed-by: Trust Me --- doc/src/snippets/code/src_corelib_io_qprocess.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- cgit v0.12