mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +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);
|
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
|
// 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();
|
scene()->clear();
|
||||||
modelRowsInserted(QModelIndex(),0,m_model->rowCount()-1);
|
modelRowsInserted(QModelIndex(),0,m_model->rowCount()-1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue