Changeset 12c33a0 in subsurface


Ignore:
Timestamp:
Feb 5, 2017, 12:20:33 PM (7 months ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
0277d5a
Parents:
11ccadb
git-author:
Joakim Bygdell <j.bygdell@…> (02/05/17 01:56:43)
git-committer:
Dirk Hohndel <dirk@…> (02/05/17 12:20:33)
Message:

Mobile: Do not show tankbar for CCR dives

If we are showing the setpoint and sensor pO2 we need the space.

Signed-off-by: Joakim Bygdell <j.bygdell@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • profile-widget/profilewidget2.cpp

    r11ccadb r12c33a0  
    701701        rulerItem->setPlotInfo(plotInfo);
    702702#endif
     703
     704#ifdef SUBSURFACE_MOBILE
     705        if (currentdc->divemode == CCR) {
     706                tankItem->setVisible(false);
     707        } else {
     708                tankItem->setVisible(prefs.tankbar);
     709        }
     710#endif
    703711        tankItem->setData(dataModel, &plotInfo, &displayed_dive);
    704712
Note: See TracChangeset for help on using the changeset viewer.