From c284b9fa7c77b9202ec39273e176eef074904cdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Mon, 17 Feb 2020 19:20:18 +0100 Subject: [PATCH] Back to lon, lat order to not correspond with all the APIs --- src/common/coordinates.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/coordinates.cpp b/src/common/coordinates.cpp index 56b14935..8e065d3f 100644 --- a/src/common/coordinates.cpp +++ b/src/common/coordinates.cpp @@ -14,8 +14,8 @@ double Coordinates::distanceTo(const Coordinates &c) const #ifndef QT_NO_DEBUG QDebug operator<<(QDebug dbg, const Coordinates &c) { - dbg.nospace() << qSetRealNumberPrecision(10) << "Coordinates(" << c.lat() - << ", " << c.lon() << ")"; + dbg.nospace() << qSetRealNumberPrecision(10) << "Coordinates(" << c.lon() + << ", " << c.lat() << ")"; return dbg.space(); } #endif // QT_NO_DEBUG