mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 21:53:23 +00:00
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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue