summaryrefslogtreecommitdiffstats
path: root/profile-widget
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@libreoffice.org>2018-05-21 09:42:39 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-05-21 07:31:16 -0700
commit37ac354291b4b78e01fbf6022e5b795768acb58d (patch)
tree93b8229d948ec06337ce73607da2e6e48b9ae667 /profile-widget
parent158be6488394ef107dc134cd623f1a9e342bbdd9 (diff)
downloadsubsurface-37ac354291b4b78e01fbf6022e5b795768acb58d.tar.gz
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>
Diffstat (limited to 'profile-widget')
-rw-r--r--profile-widget/divepixmapitem.cpp2
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();
}