mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
profile-widget: Change Q_UNUSED to no parameter name
C++ permits use of parameters without name, which signals unused Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
parent
f92daa456a
commit
065af62f59
7 changed files with 22 additions and 67 deletions
|
@ -82,9 +82,8 @@ void DivePictureItem::setPixmap(const QPixmap &pix)
|
|||
boundingRect().height() - button->boundingRect().height() * 0.2);
|
||||
}
|
||||
|
||||
void DivePictureItem::hoverEnterEvent(QGraphicsSceneHoverEvent *event)
|
||||
void DivePictureItem::hoverEnterEvent(QGraphicsSceneHoverEvent*)
|
||||
{
|
||||
Q_UNUSED(event);
|
||||
Animations::scaleTo(this, 1.0);
|
||||
setZValue(5);
|
||||
|
||||
|
@ -98,9 +97,8 @@ void DivePictureItem::setFileUrl(const QString &s)
|
|||
fileUrl = s;
|
||||
}
|
||||
|
||||
void DivePictureItem::hoverLeaveEvent(QGraphicsSceneHoverEvent *event)
|
||||
void DivePictureItem::hoverLeaveEvent(QGraphicsSceneHoverEvent*)
|
||||
{
|
||||
Q_UNUSED(event);
|
||||
Animations::scaleTo(this, 0.2);
|
||||
setZValue(0);
|
||||
Animations::hide(button);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue