1
0
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:
Martin Tůma 2016-02-02 09:07:04 +01:00
parent e7edd5c3c3
commit 9941faa218

View File

@ -15,6 +15,10 @@
ScaleItem::ScaleItem(QGraphicsItem *parent) : QGraphicsItem(parent)
{
_units = Metric;
_zoom = ZOOM_MIN;
_lat = 0;
computeScale();
}
QRectF ScaleItem::boundingRect() const