mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-27 21:24:47 +01:00
Added proper initialization to silence analysis tools
This commit is contained in:
parent
e7edd5c3c3
commit
9941faa218
@ -15,6 +15,10 @@
|
|||||||
ScaleItem::ScaleItem(QGraphicsItem *parent) : QGraphicsItem(parent)
|
ScaleItem::ScaleItem(QGraphicsItem *parent) : QGraphicsItem(parent)
|
||||||
{
|
{
|
||||||
_units = Metric;
|
_units = Metric;
|
||||||
|
_zoom = ZOOM_MIN;
|
||||||
|
_lat = 0;
|
||||||
|
|
||||||
|
computeScale();
|
||||||
}
|
}
|
||||||
|
|
||||||
QRectF ScaleItem::boundingRect() const
|
QRectF ScaleItem::boundingRect() const
|
||||||
|
Loading…
Reference in New Issue
Block a user