aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/diveprofileitem.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-29 10:31:34 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-29 10:31:34 -0700
commitccaff3a06da9c638cd1088329e10944320e1f66e (patch)
tree99b2be63f037add694d95b2a8e0bda16996e9ac2 /qt-ui/profile/diveprofileitem.h
parenta4608f7c91138401e9987ff0478bbe42408a37a7 (diff)
downloadsubsurface-ccaff3a06da9c638cd1088329e10944320e1f66e.tar.gz
Make gradient factor text an independent item on the profile
Having it as part of the DiveCalculatedCeiling class caused us to manage this text 17 times (and plotting it 17 times) which is rather silly. 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 81e5bf4c8..2160782f7 100644
--- a/qt-ui/profile/diveprofileitem.h
+++ b/qt-ui/profile/diveprofileitem.h
@@ -187,7 +187,6 @@ slots:
private:
bool is3mIncrement;
- DiveTextItem *gradientFactor;
};
class DiveReportedCeiling : public AbstractProfilePolygonItem {