aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/profilewidget2.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/profilewidget2.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/profilewidget2.h')
-rw-r--r--qt-ui/profile/profilewidget2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/profile/profilewidget2.h b/qt-ui/profile/profilewidget2.h
index a25780c7e..75d072dac 100644
--- a/qt-ui/profile/profilewidget2.h
+++ b/qt-ui/profile/profilewidget2.h
@@ -167,6 +167,7 @@ private:
QList<DiveEventItem *> eventItems;
DiveTextItem *diveComputerText;
DiveCalculatedCeiling *diveCeiling;
+ DiveTextItem *gradientFactor;
QList<DiveCalculatedTissue *> allTissues;
DiveReportedCeiling *reportedCeiling;
PartialPressureGasItem *pn2GasItem;