diff --git a/profile-widget/divepixmapitem.cpp b/profile-widget/divepixmapitem.cpp index 0d1051dad..c81cd51e1 100644 --- a/profile-widget/divepixmapitem.cpp +++ b/profile-widget/divepixmapitem.cpp @@ -23,7 +23,7 @@ CloseButtonItem::CloseButtonItem(QGraphicsItem *parent): DivePixmapItem(parent) setFlag(ItemIgnoresTransformations); } -void CloseButtonItem::mousePressEvent(QGraphicsSceneMouseEvent *event) +void CloseButtonItem::mousePressEvent(QGraphicsSceneMouseEvent *) { qgraphicsitem_cast(parentItem())->removePicture(); }