1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-07-06 15:42:51 +02:00

Refactoring

This commit is contained in:
2016-03-02 09:34:39 +01:00
parent 70238062f2
commit e52a163529
4 changed files with 6 additions and 6 deletions

View File

@ -131,7 +131,7 @@ void GraphView::loadData(const QVector<QPointF> &data)
{
QPainterPath path;
QGraphicsPathItem *pi;
QColor color = _colorShop.color();
QColor color = _palette.color();
if (data.size() < 2)
@ -262,7 +262,7 @@ void GraphView::clear()
_info->clear();
_scene->clear();
_graphs.clear();
_colorShop.reset();
_palette.reset();
_xMax = -FLT_MAX;
_xMin = FLT_MAX;