aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--stats/informationbox.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/stats/informationbox.cpp b/stats/informationbox.cpp
index 29731acc6..df733f4fc 100644
--- a/stats/informationbox.cpp
+++ b/stats/informationbox.cpp
@@ -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)
{
}