mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 20:23:25 +00:00
Prevent leak by connecting object to its parrent
Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
d812d7b1f6
commit
bdea7dd0d6
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ void ToolTipItem::expand()
|
|||
nextRectangle.setWidth(width);
|
||||
nextRectangle.setHeight(height);
|
||||
|
||||
QPropertyAnimation *animation = new QPropertyAnimation(this, "rect");
|
||||
QPropertyAnimation *animation = new QPropertyAnimation(this, "rect", this);
|
||||
animation->setDuration(100);
|
||||
animation->setStartValue(rectangle);
|
||||
animation->setEndValue(nextRectangle);
|
||||
|
|
Loading…
Add table
Reference in a new issue