1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 11:45:53 +01:00

Improved debuging

This commit is contained in:
Martin Tůma 2018-01-21 00:48:34 +01:00
parent 635e2f1fe3
commit 6ffc71fd36
2 changed files with 8 additions and 0 deletions

View File

@ -72,3 +72,9 @@ Transform::Transform(const QList<ReferencePoint> &points)
else else
affine(points); affine(points);
} }
QDebug operator<<(QDebug dbg, const ReferencePoint &p)
{
dbg.nospace() << "ReferencePoint(" << p.xy << ", " << p.pp << ")";
return dbg.maybeSpace();
}

View File

@ -27,4 +27,6 @@ private:
QString _errorString; QString _errorString;
}; };
QDebug operator<<(QDebug dbg, const ReferencePoint &p);
#endif // TRANSFORM_H #endif // TRANSFORM_H