mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-31 09:05:14 +01:00
Added missing cleanup
This commit is contained in:
parent
8e713a1f06
commit
ec5ad67a3e
@ -73,6 +73,7 @@ GraphView::~GraphView()
|
|||||||
delete _slider;
|
delete _slider;
|
||||||
delete _info;
|
delete _info;
|
||||||
delete _grid;
|
delete _grid;
|
||||||
|
delete _message;
|
||||||
|
|
||||||
for (int i = 0; i < _graphs.count(); i++)
|
for (int i = 0; i < _graphs.count(); i++)
|
||||||
delete _graphs[i];
|
delete _graphs[i];
|
||||||
@ -274,7 +275,7 @@ void GraphView::redraw(const QSizeF &size)
|
|||||||
qreal sx, sy;
|
qreal sx, sy;
|
||||||
|
|
||||||
|
|
||||||
if (_visible.isEmpty() || _bounds.isNull()) {
|
if (_bounds.isNull()) {
|
||||||
removeItem(_xAxis);
|
removeItem(_xAxis);
|
||||||
removeItem(_yAxis);
|
removeItem(_yAxis);
|
||||||
removeItem(_slider);
|
removeItem(_slider);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user