diff options
-rw-r--r-- | profile-widget/divepixmapitem.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/profile-widget/divepixmapitem.cpp b/profile-widget/divepixmapitem.cpp index 698172cc6..39c41d19d 100644 --- a/profile-widget/divepixmapitem.cpp +++ b/profile-widget/divepixmapitem.cpp @@ -83,6 +83,7 @@ void DivePictureItem::setPixmap(const QPixmap &pix) CloseButtonItem *button = NULL; void DivePictureItem::hoverEnterEvent(QGraphicsSceneHoverEvent *event) { + Q_UNUSED(event); Animations::scaleTo(this, 1.0); setZValue(5); @@ -109,6 +110,7 @@ void DivePictureItem::setFileUrl(const QString &s) void DivePictureItem::hoverLeaveEvent(QGraphicsSceneHoverEvent *event) { + Q_UNUSED(event); Animations::scaleTo(this, 0.2); setZValue(0); if(button){ @@ -126,6 +128,7 @@ DivePictureItem::~DivePictureItem(){ void DivePictureItem::mousePressEvent(QGraphicsSceneMouseEvent *event) { + Q_UNUSED(event); QDesktopServices::openUrl(QUrl::fromLocalFile(fileUrl)); } |