aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/diveprofileitem.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2014-02-17 19:15:40 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-17 14:50:14 -0800
commit31ee4dac65bd6e8b0c3583fc0245cc83a90542d5 (patch)
tree06f1574051bce9fc533a5d2c47d66b5c0d89e5e6 /qt-ui/profile/diveprofileitem.h
parentd81223b3f4031ec2f33db164351fb369aeed6b8c (diff)
downloadsubsurface-31ee4dac65bd6e8b0c3583fc0245cc83a90542d5.tar.gz
Make part of the context menu work (gas change event)
The code of the context menu and the gas change event callback is mostly the same as the old profile, with minimum modifications, as this changes the order of the code on the callback to make it a bit saner (declare variables first, call code later). This also fixes a bug on the model that was not cleaning itself in the correct way after a call to clear. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/diveprofileitem.h')
-rw-r--r--qt-ui/profile/diveprofileitem.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/qt-ui/profile/diveprofileitem.h b/qt-ui/profile/diveprofileitem.h
index b51958104..e8bac0421 100644
--- a/qt-ui/profile/diveprofileitem.h
+++ b/qt-ui/profile/diveprofileitem.h
@@ -142,7 +142,6 @@ private:
int meanDepth;
DiveTextItem *leftText;
DiveTextItem *rightText;
- DiveCartesianAxis *axis;
};
class PartialPressureGasItem : public AbstractProfilePolygonItem{