summaryrefslogtreecommitdiffstats
path: root/examples/help/remotecontrol/remotecontrol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/help/remotecontrol/remotecontrol.cpp')
-rw-r--r--examples/help/remotecontrol/remotecontrol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/help/remotecontrol/remotecontrol.cpp b/examples/help/remotecontrol/remotecontrol.cpp
index adb92d0..9dc166e 100644
--- a/examples/help/remotecontrol/remotecontrol.cpp
+++ b/examples/help/remotecontrol/remotecontrol.cpp
@@ -123,7 +123,7 @@ void RemoteControl::sendCommand(const QString &cmd)
{
if (process->state() != QProcess::Running)
return;
- process->write(cmd.toLocal8Bit() + '\0');
+ process->write(cmd.toLocal8Bit() + '\n');
}
void RemoteControl::on_indexButton_clicked()