summaryrefslogtreecommitdiffstats
path: root/examples/serialport/creaderasync/main.cpp
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2019-07-31 17:30:57 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2019-08-01 09:53:05 +0200
commitfc7d7799b279d2c1fc2019966604f04e36218470 (patch)
tree46e247bae48639b8110a7e08e1267524b2b4aeaf /examples/serialport/creaderasync/main.cpp
parent126809f150f03ab07b94bb508c89cea25440ac41 (diff)
Fix Qt6 build
Change-Id: I6fdfe8b21efe92ba97b7c833997432e670e5937c Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
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..5e98bde3 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;
+ << Qt::endl;
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;
+ << Qt::endl;
return 1;
}