mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 11:45:53 +01:00
Added missing initialization
This commit is contained in:
parent
4530ec1354
commit
b26a10a5b3
@ -71,6 +71,7 @@ Transform::Transform()
|
|||||||
}
|
}
|
||||||
|
|
||||||
Transform::Transform(const QList<ReferencePoint> &points)
|
Transform::Transform(const QList<ReferencePoint> &points)
|
||||||
|
: _proj2img(NULL_QTRANSFORM), _img2proj(NULL_QTRANSFORM)
|
||||||
{
|
{
|
||||||
if (points.count() < 2)
|
if (points.count() < 2)
|
||||||
_errorString = "Insufficient number of reference points";
|
_errorString = "Insufficient number of reference points";
|
||||||
@ -81,6 +82,7 @@ Transform::Transform(const QList<ReferencePoint> &points)
|
|||||||
}
|
}
|
||||||
|
|
||||||
Transform::Transform(const ReferencePoint &p1, const ReferencePoint &p2)
|
Transform::Transform(const ReferencePoint &p1, const ReferencePoint &p2)
|
||||||
|
: _proj2img(NULL_QTRANSFORM), _img2proj(NULL_QTRANSFORM)
|
||||||
{
|
{
|
||||||
simple(p1, p2);
|
simple(p1, p2);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user