mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
stats: initialize InformationBox::width and height members
Fixes a Coverity warning. Good style anyway. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
7446e8cddd
commit
d1c89a55e1
1 changed files with 3 additions and 1 deletions
|
@ -12,7 +12,9 @@ static const int distanceFromPointer = 10; // Distance to place box from mouse p
|
|||
InformationBox::InformationBox(StatsView &v) :
|
||||
ChartRectItem(v, ChartZValue::InformationBox,
|
||||
QPen(informationBorderColor, informationBorder),
|
||||
QBrush(informationColor), informationBorderRadius)
|
||||
QBrush(informationColor), informationBorderRadius),
|
||||
width(0.0),
|
||||
height(0.0)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue