summaryrefslogtreecommitdiffstats
path: root/qt-ui/profile
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-06-27 18:03:18 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-27 20:37:11 -0700
commite40367fc393a3b5e885a3816baa2ad0da4e30de7 (patch)
tree65691c57476fd69bfdb85756bc2ce897bcb137ca /qt-ui/profile
parent3f98f024e484764e2bfa648d9eb072ce7472acf6 (diff)
downloadsubsurface-e40367fc393a3b5e885a3816baa2ad0da4e30de7.tar.gz
This is unecessary when calling methods.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile')
-rw-r--r--qt-ui/profile/divepixmapitem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/profile/divepixmapitem.cpp b/qt-ui/profile/divepixmapitem.cpp
index e0ce4f90a..060f47afb 100644
--- a/qt-ui/profile/divepixmapitem.cpp
+++ b/qt-ui/profile/divepixmapitem.cpp
@@ -52,13 +52,13 @@ void DivePictureItem::setPixmap(const QPixmap &pix)
void DivePictureItem::hoverEnterEvent(QGraphicsSceneHoverEvent *event)
{
Animations::scaleTo(this, 1.0);
- this->setZValue(5);
+ setZValue(5);
}
void DivePictureItem::hoverLeaveEvent(QGraphicsSceneHoverEvent *event)
{
Animations::scaleTo(this, 0.2);
- this->setZValue(0);
+ setZValue(0);
}
void DivePictureItem::mousePressEvent(QGraphicsSceneMouseEvent *event)