aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/statistics/statisticswidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/statistics/statisticswidget.cpp')
-rw-r--r--qt-ui/statistics/statisticswidget.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/qt-ui/statistics/statisticswidget.cpp b/qt-ui/statistics/statisticswidget.cpp
index 9143c290c..3e91fa317 100644
--- a/qt-ui/statistics/statisticswidget.cpp
+++ b/qt-ui/statistics/statisticswidget.cpp
@@ -2,7 +2,9 @@
#include "yearlystatisticsmodel.h"
#include <QModelIndex>
-YearlyStatisticsWidget::YearlyStatisticsWidget(QWidget *parent): QGraphicsView(parent)
+YearlyStatisticsWidget::YearlyStatisticsWidget(QWidget *parent):
+ QGraphicsView(parent),
+ m_model(NULL)
{
}