summaryrefslogtreecommitdiffstats
path: root/profile-widget/tankitem.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-10-27 18:32:04 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-10-27 12:42:21 -0700
commit9344dd51b7f7155a5e6fad1b9de7071934e3c3c8 (patch)
tree97c7c475ec87cd2efdcee816e3874b287dc51f02 /profile-widget/tankitem.h
parenta7067937b0ee805f20f62b138dae7b260d20c426 (diff)
downloadsubsurface-9344dd51b7f7155a5e6fad1b9de7071934e3c3c8.tar.gz
Cleanup: turn TankItem member variable into a constant
TankItem had a "height" member variable that was never modified. Turn it into a constant, which is local to the translation unit. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'profile-widget/tankitem.h')
-rw-r--r--profile-widget/tankitem.h1
1 files changed, 0 insertions, 1 deletions
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;
};