summaryrefslogtreecommitdiffstats
path: root/profile-widget
diff options
context:
space:
mode:
Diffstat (limited to 'profile-widget')
-rw-r--r--profile-widget/tankitem.cpp1
-rw-r--r--profile-widget/tankitem.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/profile-widget/tankitem.cpp b/profile-widget/tankitem.cpp
index 24c13aed6..2a8449827 100644
--- a/profile-widget/tankitem.cpp
+++ b/profile-widget/tankitem.cpp
@@ -31,6 +31,7 @@ TankItem::TankItem(QObject *parent) :
trimixGradient.setColorAt(1.0, red);
trimix = trimixGradient;
air = blue;
+ hAxis = Q_NULLPTR;
memset(&diveCylinderStore, 0, sizeof(diveCylinderStore));
}
diff --git a/profile-widget/tankitem.h b/profile-widget/tankitem.h
index 91f19dfde..713bc92dc 100644
--- a/profile-widget/tankitem.h
+++ b/profile-widget/tankitem.h
@@ -28,7 +28,6 @@ private:
void createBar(qreal x, qreal w, struct gasmix *gas);
DivePlotDataModel *dataModel;
DiveCartesianAxis *hAxis;
- int hDataColumn;
struct dive diveCylinderStore;
struct plot_data *pInfoEntry;
int pInfoNr;