From 37ac354291b4b78e01fbf6022e5b795768acb58d Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Mon, 21 May 2018 09:42:39 +0200 Subject: profile-widget: divepixmapitem.cpp, silence unused parameter remove parameter name for not used parameter, to silence unused warning. Signed-off-by: Jan Iversen --- profile-widget/divepixmapitem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'profile-widget') 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(); } -- cgit v1.2.3-70-g09d2