mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 11:45:53 +01:00
Improved debuging
This commit is contained in:
parent
635e2f1fe3
commit
6ffc71fd36
@ -72,3 +72,9 @@ Transform::Transform(const QList<ReferencePoint> &points)
|
||||
else
|
||||
affine(points);
|
||||
}
|
||||
|
||||
QDebug operator<<(QDebug dbg, const ReferencePoint &p)
|
||||
{
|
||||
dbg.nospace() << "ReferencePoint(" << p.xy << ", " << p.pp << ")";
|
||||
return dbg.maybeSpace();
|
||||
}
|
||||
|
@ -27,4 +27,6 @@ private:
|
||||
QString _errorString;
|
||||
};
|
||||
|
||||
QDebug operator<<(QDebug dbg, const ReferencePoint &p);
|
||||
|
||||
#endif // TRANSFORM_H
|
||||
|
Loading…
Reference in New Issue
Block a user