diff options
-rw-r--r-- | profile-widget/tankitem.cpp | 3 | ||||
-rw-r--r-- | profile-widget/tankitem.h | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/profile-widget/tankitem.cpp b/profile-widget/tankitem.cpp index 504d35a9e..ea50dd9cf 100644 --- a/profile-widget/tankitem.cpp +++ b/profile-widget/tankitem.cpp @@ -5,11 +5,12 @@ #include "core/profile.h" #include <QPen> +static const qreal height = 3.0; + TankItem::TankItem(QObject *parent) : QObject(parent), plotEndTime(-1) { - height = 3; QColor red(PERSIANRED1); QColor blue(AIR_BLUE); QColor yellow(NITROX_YELLOW); diff --git a/profile-widget/tankitem.h b/profile-widget/tankitem.h index 545f9ad9c..73994444b 100644 --- a/profile-widget/tankitem.h +++ b/profile-widget/tankitem.h @@ -27,7 +27,6 @@ private: void createBar(int startTime, int stopTime, struct gasmix gas); DiveCartesianAxis *hAxis; int plotEndTime; - qreal height; QBrush air, nitrox, oxygen, trimix; QList<QGraphicsRectItem *> rects; }; |