mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
bc11097ded
commit
a7067937b0
2 changed files with 17 additions and 18 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue