1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-01-18 03:42:09 +01:00

Fixed cache issues

This commit is contained in:
Martin Tůma 2016-09-12 02:01:13 +02:00
parent ebf3c3bc14
commit 058a09a426
2 changed files with 6 additions and 0 deletions

View File

@ -43,6 +43,7 @@ void AxisItem::setRange(const RangeF &range)
prepareGeometryChange();
_range = range;
updateBoundingRect();
update();
}
void AxisItem::setSize(qreal size)
@ -50,6 +51,7 @@ void AxisItem::setSize(qreal size)
prepareGeometryChange();
_size = size;
updateBoundingRect();
update();
}
void AxisItem::setLabel(const QString& label)
@ -57,6 +59,7 @@ void AxisItem::setLabel(const QString& label)
prepareGeometryChange();
_label = label;
updateBoundingRect();
update();
}
void AxisItem::updateBoundingRect()

View File

@ -121,6 +121,7 @@ void ScaleItem::setZoom(int z, qreal lat)
_lat = lat;
computeScale();
updateBoundingRect();
update();
}
void ScaleItem::setZoom(int z)
@ -129,6 +130,7 @@ void ScaleItem::setZoom(int z)
_zoom = z;
computeScale();
updateBoundingRect();
update();
}
void ScaleItem::setUnits(enum Units units)
@ -137,4 +139,5 @@ void ScaleItem::setUnits(enum Units units)
_units = units;
computeScale();
updateBoundingRect();
update();
}