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

@ -82,9 +82,8 @@ void DivePictureItem::setPixmap(const QPixmap &pix)
boundingRect().height() - button->boundingRect().height() * 0.2);
}
void DivePictureItem::hoverEnterEvent(QGraphicsSceneHoverEvent *event)
void DivePictureItem::hoverEnterEvent(QGraphicsSceneHoverEvent*)
{
Q_UNUSED(event);
Animations::scaleTo(this, 1.0);
setZValue(5);
@ -98,9 +97,8 @@ void DivePictureItem::setFileUrl(const QString &s)
fileUrl = s;
}
void DivePictureItem::hoverLeaveEvent(QGraphicsSceneHoverEvent *event)
void DivePictureItem::hoverLeaveEvent(QGraphicsSceneHoverEvent*)
{
Q_UNUSED(event);
Animations::scaleTo(this, 0.2);
setZValue(0);
Animations::hide(button);