mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
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:
parent
158be64883
commit
37ac354291
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue