aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@libreoffice.org>2018-05-21 18:12:27 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-05-21 12:48:04 -0700
commitf92daa456ad343254a8fbde01660ae8160678fc4 (patch)
tree4c8a82d7a1934fa78b0a82908953cc9b543c6fcf /desktop-widgets
parent2b84482787ccd59bb717918ee6ee45b325681b7c (diff)
downloadsubsurface-f92daa456ad343254a8fbde01660ae8160678fc4.tar.gz
desktop-widgets/statistics: Change Q_UNUSED to no parameter name
C++ permits use of parameters without name, which signals unused Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'desktop-widgets')
-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);
}