mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 19:23:24 +00:00
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>
This commit is contained in:
parent
2b84482787
commit
f92daa456a
1 changed files with 2 additions and 7 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue