diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-08-01 10:10:51 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-08-01 13:12:27 +0200 |
commit | f2fb9058b7053267f3c4b7a2bb5d1fe74fc358f7 (patch) | |
tree | 818fdc31d1ee0e3ed9dce932077de87bcbc8f889 | |
parent | 0a8f8f40c2fdfccc4bd1bf3c7411085ed634700e (diff) |
Fix Qt6 build
Change-Id: Ib308cbc590d2a9203ac95a707870f7bd45b9bdea
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
-rw-r--r-- | examples/location/mapviewer/main.cpp | 4 | ||||
-rw-r--r-- | examples/location/places/main.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/location/mapviewer/main.cpp b/examples/location/mapviewer/main.cpp index b332de8c..ec54b5a2 100644 --- a/examples/location/mapviewer/main.cpp +++ b/examples/location/mapviewer/main.cpp @@ -66,8 +66,8 @@ static bool parseArgs(QStringList& args, QVariantMap& parameters) if (param.startsWith("--help")) { QTextStream out(stdout); - out << "Usage: " << endl; - out << "--plugin.<parameter_name> <parameter_value> - Sets parameter = value for plugin" << endl; + out << "Usage: " << Qt::endl; + out << "--plugin.<parameter_name> <parameter_value> - Sets parameter = value for plugin" << Qt::endl; out.flush(); return true; } diff --git a/examples/location/places/main.cpp b/examples/location/places/main.cpp index c677e429..69d31ae8 100644 --- a/examples/location/places/main.cpp +++ b/examples/location/places/main.cpp @@ -63,8 +63,8 @@ static bool parseArgs(QStringList& args, QVariantMap& parameters) if (param.startsWith("--help")) { QTextStream out(stdout); - out << "Usage: " << endl; - out << "--plugin.<parameter_name> <parameter_value> - Sets parameter = value for plugin" << endl; + out << "Usage: " << Qt::endl; + out << "--plugin.<parameter_name> <parameter_value> - Sets parameter = value for plugin" << Qt::endl; out.flush(); return true; } |