diff options
Diffstat (limited to 'profile-widget/divepixmapitem.cpp')
-rw-r--r-- | profile-widget/divepixmapitem.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/profile-widget/divepixmapitem.cpp b/profile-widget/divepixmapitem.cpp index 27fea611b..58d6f2776 100644 --- a/profile-widget/divepixmapitem.cpp +++ b/profile-widget/divepixmapitem.cpp @@ -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); |