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

Added missing initialization

This commit is contained in:
Martin Tůma 2018-04-16 19:14:27 +02:00
parent 4530ec1354
commit b26a10a5b3

View File

@ -71,6 +71,7 @@ Transform::Transform()
}
Transform::Transform(const QList<ReferencePoint> &points)
: _proj2img(NULL_QTRANSFORM), _img2proj(NULL_QTRANSFORM)
{
if (points.count() < 2)
_errorString = "Insufficient number of reference points";
@ -81,6 +82,7 @@ Transform::Transform(const QList<ReferencePoint> &points)
}
Transform::Transform(const ReferencePoint &p1, const ReferencePoint &p2)
: _proj2img(NULL_QTRANSFORM), _img2proj(NULL_QTRANSFORM)
{
simple(p1, p2);
}