summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/location/mapviewer/main.cpp4
-rw-r--r--examples/location/places/main.cpp4
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;
}