profile-widget: 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:20:29 +02:00 committed by Dirk Hohndel
parent f92daa456a
commit 065af62f59
7 changed files with 22 additions and 67 deletions

View file

@ -216,11 +216,9 @@ void DiveEventItem::setupToolTipString(struct gasmix *lastgasmix)
setToolTip(name);
}
void DiveEventItem::eventVisibilityChanged(const QString &eventName, bool visible)
void DiveEventItem::eventVisibilityChanged(const QString&, bool)
{
//WARN: lookslike we should implement this.
Q_UNUSED(eventName);
Q_UNUSED(visible);
}
bool DiveEventItem::shouldBeHidden()