aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/statistics/statisticswidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/statistics/statisticswidget.h')
-rw-r--r--qt-ui/statistics/statisticswidget.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/statistics/statisticswidget.h b/qt-ui/statistics/statisticswidget.h
index 0042ce67c..4e62a10fd 100644
--- a/qt-ui/statistics/statisticswidget.h
+++ b/qt-ui/statistics/statisticswidget.h
@@ -11,6 +11,8 @@ class YearlyStatisticsWidget : public QGraphicsView {
public:
YearlyStatisticsWidget(QWidget *parent = 0);
void setModel(YearlyStatisticsModel *m);
+protected:
+ virtual void resizeEvent(QResizeEvent *event);
public slots:
void modelRowsInserted(const QModelIndex& index, int first, int last);
void modelRowsRemoved(const QModelIndex& index, int first, int last);