diff --git a/src/map/transform.cpp b/src/map/transform.cpp index eaf48a1a..1c9ed5a5 100644 --- a/src/map/transform.cpp +++ b/src/map/transform.cpp @@ -72,3 +72,9 @@ Transform::Transform(const QList &points) else affine(points); } + +QDebug operator<<(QDebug dbg, const ReferencePoint &p) +{ + dbg.nospace() << "ReferencePoint(" << p.xy << ", " << p.pp << ")"; + return dbg.maybeSpace(); +} diff --git a/src/map/transform.h b/src/map/transform.h index 939e9bd2..951483bc 100644 --- a/src/map/transform.h +++ b/src/map/transform.h @@ -27,4 +27,6 @@ private: QString _errorString; }; +QDebug operator<<(QDebug dbg, const ReferencePoint &p); + #endif // TRANSFORM_H