profile-widget: divepixmapitem.cpp, silence unused parameter

remove parameter name for not used parameter, to silence
unused warning.

Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
jan Iversen 2018-05-21 09:42:39 +02:00 committed by Dirk Hohndel
parent 158be64883
commit 37ac354291

View file

@ -23,7 +23,7 @@ CloseButtonItem::CloseButtonItem(QGraphicsItem *parent): DivePixmapItem(parent)
setFlag(ItemIgnoresTransformations);
}
void CloseButtonItem::mousePressEvent(QGraphicsSceneMouseEvent *event)
void CloseButtonItem::mousePressEvent(QGraphicsSceneMouseEvent *)
{
qgraphicsitem_cast<DivePictureItem*>(parentItem())->removePicture();
}