mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
Initialize variable members in DiveCartesianAxis class.
* Initialize variable members in DiveCartesianAxis class. Note: Initialized values I put needs to be doublechecked. Signed-off-by: Boris Barbulovski <bbarbulovski@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
d120e861cb
commit
6ae870bd22
1 changed files with 8 additions and 1 deletions
|
@ -60,7 +60,14 @@ void DiveCartesianAxis::setTextColor(const QColor& color)
|
|||
textColor = color;
|
||||
}
|
||||
|
||||
DiveCartesianAxis::DiveCartesianAxis() : orientation(LeftToRight)
|
||||
DiveCartesianAxis::DiveCartesianAxis() : QObject(),
|
||||
QGraphicsLineItem(),
|
||||
unitSystem(0),
|
||||
orientation(LeftToRight),
|
||||
min(0),
|
||||
max(0),
|
||||
interval(1),
|
||||
tick_size(0)
|
||||
{
|
||||
setPen(gridPen());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue