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:
jan Iversen 2018-05-21 18:09:09 +02:00 committed by Dirk Hohndel
parent e47f6df076
commit e536682b84
12 changed files with 43 additions and 103 deletions

View file

@ -241,9 +241,8 @@ void DownloadFromDCWidget::on_vendor_currentIndexChanged(const QString &vendor)
fill_device_list(dcType);
}
void DownloadFromDCWidget::on_product_currentIndexChanged(const QString &product)
void DownloadFromDCWidget::on_product_currentIndexChanged(const QString&)
{
Q_UNUSED(product)
updateDeviceEnabled();
}