mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-27 20:58:47 +00:00
Desktop: Remove Unused Class Members.
Remove unused class member variables in `profile-widget/diveprofileitem`. Signed-off-by: Michael Keller <github@ike.ch>
This commit is contained in:
parent
700bba7e30
commit
a0cb6ad6d7
2 changed files with 1 additions and 6 deletions
|
@ -100,8 +100,7 @@ void AbstractProfilePolygonItem::makePolygon(int fromIn, int toIn)
|
|||
|
||||
DiveProfileItem::DiveProfileItem(const plot_info &pInfo, const DiveCartesianAxis &hAxis,
|
||||
const DiveCartesianAxis &vAxis, DataAccessor accessor, double dpr) :
|
||||
AbstractProfilePolygonItem(pInfo, hAxis, vAxis, accessor, dpr),
|
||||
show_reported_ceiling(0), reported_ceiling_in_red(0)
|
||||
AbstractProfilePolygonItem(pInfo, hAxis, vAxis, accessor, dpr)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -145,8 +144,6 @@ void DiveProfileItem::replot(const dive *d, int from, int to, bool in_planner)
|
|||
if (polygon().isEmpty())
|
||||
return;
|
||||
|
||||
show_reported_ceiling = prefs.dcceiling;
|
||||
reported_ceiling_in_red = prefs.redceiling;
|
||||
profileColor = pInfo.waypoint_above_ceiling ? QColor(Qt::red)
|
||||
: getColor(DEPTH_BOTTOM);
|
||||
|
||||
|
|
|
@ -59,8 +59,6 @@ public:
|
|||
int maxCeiling(int row);
|
||||
|
||||
private:
|
||||
unsigned int show_reported_ceiling;
|
||||
unsigned int reported_ceiling_in_red;
|
||||
QColor profileColor;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue