This is unecessary when calling methods.

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2014-06-27 18:03:18 -03:00 committed by Dirk Hohndel
parent 3f98f024e4
commit e40367fc39

View file

@ -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)