summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@gmail.com>2016-03-09 15:15:18 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-09 11:43:33 -0800
commit309f0f722a8646701ff0ede7d405dd2d7082f835 (patch)
tree60ee6c1a07d26f3f655e9dcc52f4d83768373b05
parenta9b33e53ce5098bac730c1b90d6ec31a45cc831c (diff)
downloadsubsurface-309f0f722a8646701ff0ede7d405dd2d7082f835.tar.gz
Silence warnings in divepixmapitem.cpp
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--profile-widget/divepixmapitem.cpp3
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));
}