mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
desktop-widgets: 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
e47f6df076
commit
e536682b84
12 changed files with 43 additions and 103 deletions
|
@ -68,9 +68,8 @@ double MinMaxAvgWidget::minimum() const
|
|||
return d->minValue->text().toDouble();
|
||||
}
|
||||
|
||||
MinMaxAvgWidget::MinMaxAvgWidget(QWidget *parent) : d(new MinMaxAvgWidgetPrivate(this))
|
||||
MinMaxAvgWidget::MinMaxAvgWidget(QWidget*) : d(new MinMaxAvgWidgetPrivate(this))
|
||||
{
|
||||
Q_UNUSED(parent)
|
||||
}
|
||||
|
||||
MinMaxAvgWidget::~MinMaxAvgWidget()
|
||||
|
@ -261,9 +260,8 @@ void ShiftTimesDialog::buttonClicked(QAbstractButton *button)
|
|||
}
|
||||
}
|
||||
|
||||
void ShiftTimesDialog::showEvent(QShowEvent *event)
|
||||
void ShiftTimesDialog::showEvent(QShowEvent*)
|
||||
{
|
||||
Q_UNUSED(event)
|
||||
ui.timeEdit->setTime(QTime(0, 0, 0, 0));
|
||||
when = get_times(); //get time of first selected dive
|
||||
ui.currentTime->setText(get_dive_date_string(when));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue