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:
parent
3f98f024e4
commit
e40367fc39
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user