summaryrefslogtreecommitdiffstats
path: root/examples/help/simpletextviewer/assistant.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/help/simpletextviewer/assistant.cpp')
-rw-r--r--examples/help/simpletextviewer/assistant.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/help/simpletextviewer/assistant.cpp b/examples/help/simpletextviewer/assistant.cpp
index 7d779f3..3acc193 100644
--- a/examples/help/simpletextviewer/assistant.cpp
+++ b/examples/help/simpletextviewer/assistant.cpp
@@ -73,7 +73,7 @@ void Assistant::showDocumentation(const QString &page)
QByteArray ba("SetSource ");
ba.append("qthelp://com.trolltech.examples.simpletextviewer/doc/");
- proc->write(ba + page.toLocal8Bit() + '\0');
+ proc->write(ba + page.toLocal8Bit() + '\n');
}
//! [1]