summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/statistics
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/statistics')
-rw-r--r--desktop-widgets/statistics/statisticswidget.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/desktop-widgets/statistics/statisticswidget.cpp b/desktop-widgets/statistics/statisticswidget.cpp
index b8b2ab42b..1f1014415 100644
--- a/desktop-widgets/statistics/statisticswidget.cpp
+++ b/desktop-widgets/statistics/statisticswidget.cpp
@@ -22,18 +22,13 @@ void YearlyStatisticsWidget::setModel(YearlyStatisticsModel *m)
modelRowsInserted(QModelIndex(),0,m_model->rowCount()-1);
}
-void YearlyStatisticsWidget::modelRowsInserted(const QModelIndex &index, int first, int last)
+void YearlyStatisticsWidget::modelRowsInserted(const QModelIndex&, int, int)
{
- Q_UNUSED(index)
- Q_UNUSED(first)
- Q_UNUSED(last)
// stub
}
-void YearlyStatisticsWidget::modelDataChanged(const QModelIndex &topLeft, const QModelIndex& bottomRight)
+void YearlyStatisticsWidget::modelDataChanged(const QModelIndex&, const QModelIndex&)
{
- Q_UNUSED(topLeft);
- Q_UNUSED(bottomRight);
scene()->clear();
modelRowsInserted(QModelIndex(),0,m_model->rowCount()-1);
}