1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-01-18 19:52:09 +01:00

Back to lon, lat order to not correspond with all the APIs

This commit is contained in:
Martin Tůma 2020-02-17 19:20:18 +01:00
parent 2c503a2406
commit c284b9fa7c

View File

@ -14,8 +14,8 @@ double Coordinates::distanceTo(const Coordinates &c) const
#ifndef QT_NO_DEBUG #ifndef QT_NO_DEBUG
QDebug operator<<(QDebug dbg, const Coordinates &c) QDebug operator<<(QDebug dbg, const Coordinates &c)
{ {
dbg.nospace() << qSetRealNumberPrecision(10) << "Coordinates(" << c.lat() dbg.nospace() << qSetRealNumberPrecision(10) << "Coordinates(" << c.lon()
<< ", " << c.lon() << ")"; << ", " << c.lat() << ")";
return dbg.space(); return dbg.space();
} }
#endif // QT_NO_DEBUG #endif // QT_NO_DEBUG