diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2014-02-17 19:15:40 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-02-17 14:50:14 -0800 |
commit | 31ee4dac65bd6e8b0c3583fc0245cc83a90542d5 (patch) | |
tree | 06f1574051bce9fc533a5d2c47d66b5c0d89e5e6 /qt-ui/profile/diveprofileitem.h | |
parent | d81223b3f4031ec2f33db164351fb369aeed6b8c (diff) | |
download | subsurface-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.h | 1 |
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{ |