mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
profile: remove DiveCartesianAxis::gridColor member variable
This was only used in the constructor to create the pen for the grid lines. Not need to keep it around. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
7bc90b6dfe
commit
ea59e5cf7a
2 changed files with 0 additions and 2 deletions
|
@ -24,7 +24,6 @@ DiveCartesianAxis::DiveCartesianAxis(Position position, int integralDigits, int
|
|||
printMode(printMode),
|
||||
position(position),
|
||||
fractionalDigits(fractionalDigits),
|
||||
gridColor(gridColor),
|
||||
scene(scene),
|
||||
orientation(LeftToRight),
|
||||
min(0),
|
||||
|
|
|
@ -57,7 +57,6 @@ private:
|
|||
int fractionalDigits;
|
||||
QRectF rect; // Rectangle to fill with grid lines
|
||||
QPen gridPen;
|
||||
color_index_t gridColor;
|
||||
ProfileScene &scene;
|
||||
QString textForValue(double value) const;
|
||||
virtual QColor colorForValue(double value) const;
|
||||
|
|
Loading…
Reference in a new issue