From f92daa456ad343254a8fbde01660ae8160678fc4 Mon Sep 17 00:00:00 2001
From: jan Iversen <jani@libreoffice.org>
Date: Mon, 21 May 2018 18:12:27 +0200
Subject: 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>
---
 desktop-widgets/statistics/statisticswidget.cpp | 9 ++-------
 1 file 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);
 }
-- 
cgit v1.2.3-70-g09d2