mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 03:35:53 +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)
|
||||
{
|
||||
_units = Metric;
|
||||
_zoom = ZOOM_MIN;
|
||||
_lat = 0;
|
||||
|
||||
computeScale();
|
||||
}
|
||||
|
||||
QRectF ScaleItem::boundingRect() const
|
||||
|
Loading…
Reference in New Issue
Block a user