summaryrefslogtreecommitdiffstats
path: root/examples/serialport/creaderasync/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/serialport/creaderasync/main.cpp')
-rw-r--r--examples/serialport/creaderasync/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/serialport/creaderasync/main.cpp b/examples/serialport/creaderasync/main.cpp
index 6c669ceb..8fc43577 100644
--- a/examples/serialport/creaderasync/main.cpp
+++ b/examples/serialport/creaderasync/main.cpp
@@ -66,7 +66,7 @@ int main(int argc, char *argv[])
if (argumentCount == 1) {
standardOutput << QObject::tr("Usage: %1 <serialportname> [baudrate]")
.arg(argumentList.first())
- << endl;
+ << "\n";
return 1;
}
@@ -82,7 +82,7 @@ int main(int argc, char *argv[])
standardOutput << QObject::tr("Failed to open port %1, error: %2")
.arg(serialPortName)
.arg(serialPort.errorString())
- << endl;
+ << "\n";
return 1;
}