diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-08-01 10:10:51 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-04-02 21:12:56 +0100 |
commit | f64813599bc4d1f57c964727e6b5b4ba3b6cb24a (patch) | |
tree | ab8de3888a29b2adace111429af7120ef189a20e | |
parent | dd6df42a6ae90cd349b9af2d00d53c5a0d3ed1ed (diff) | |
download | qtlocation-f64813599bc4d1f57c964727e6b5b4ba3b6cb24a.tar.gz |
Fix Qt6 build
Change-Id: Ib308cbc590d2a9203ac95a707870f7bd45b9bdea
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
(cherry picked from commit f2fb9058b7053267f3c4b7a2bb5d1fe74fc358f7)
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@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; } |