diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-10-27 18:08:07 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-10-27 12:42:21 -0700 |
commit | a7067937b0ee805f20f62b138dae7b260d20c426 (patch) | |
tree | e913bebb9396a75f190ed8bd26708d63c9cd1e0c /profile-widget/tankitem.h | |
parent | bc11097dedd456506013caba5e886a0df4c74ead (diff) | |
download | subsurface-a7067937b0ee805f20f62b138dae7b260d20c426.tar.gz |
Profile: don't copy plot data for tank-bar
The whole plot info data was copied only so that the time of the
last item could be determined later. Instead, simply store the
timestamp.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'profile-widget/tankitem.h')
-rw-r--r-- | profile-widget/tankitem.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/profile-widget/tankitem.h b/profile-widget/tankitem.h index 4eb5710d6..545f9ad9c 100644 --- a/profile-widget/tankitem.h +++ b/profile-widget/tankitem.h @@ -26,8 +26,7 @@ public slots: private: void createBar(int startTime, int stopTime, struct gasmix gas); DiveCartesianAxis *hAxis; - struct plot_data *pInfoEntry; - int pInfoNr; + int plotEndTime; qreal height; QBrush air, nitrox, oxygen, trimix; QList<QGraphicsRectItem *> rects; |