1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-10-07 07:13:21 +02:00
GPXSee/src/waypoint.cpp

11 lines
310 B
C++
Raw Normal View History

#include "waypoint.h"
QDebug operator<<(QDebug dbg, const Waypoint &waypoint)
{
2017-08-14 11:16:48 +02:00
const bool ais = dbg.autoInsertSpaces();
dbg.nospace() << "Waypoint(" << waypoint.coordinates() << ", "
<< waypoint.name() << ", " << waypoint.description() << ")";
2017-08-14 11:16:48 +02:00
dbg.setAutoInsertSpaces(ais);
return dbg.maybeSpace();
}