summaryrefslogtreecommitdiffstats
path: root/doc/codesnippets/doc/src/snippets/qprocess
diff options
context:
space:
mode:
Diffstat (limited to 'doc/codesnippets/doc/src/snippets/qprocess')
-rw-r--r--doc/codesnippets/doc/src/snippets/qprocess/qprocess-simpleexecution.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/codesnippets/doc/src/snippets/qprocess/qprocess-simpleexecution.cpp b/doc/codesnippets/doc/src/snippets/qprocess/qprocess-simpleexecution.cpp
index b17f9ef..779c909 100644
--- a/doc/codesnippets/doc/src/snippets/qprocess/qprocess-simpleexecution.cpp
+++ b/doc/codesnippets/doc/src/snippets/qprocess/qprocess-simpleexecution.cpp
@@ -56,7 +56,7 @@ int main(int argc, char *argv[])
program = "./../../../../examples/widgets/analogclock/analogclock";
//! [2]
- arguments ["-style", "motif"]
+ arguments = ["-style", "motif"]
myProcess = QProcess(parent)
myProcess.start(program, arguments)