diff options
-rw-r--r-- | profile-widget/divepixmapitem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<DivePictureItem*>(parentItem())->removePicture(); } |