Commit 128b1eae authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen

Solved crash when deleting item from a group. Thanks to etix :)

parent eff251a8
......@@ -33,6 +33,11 @@ AbstractGraphicsMediaItem::AbstractGraphicsMediaItem() :
}
AbstractGraphicsMediaItem::~AbstractGraphicsMediaItem()
{
ungroup();
}
TracksView* AbstractGraphicsMediaItem::tracksView()
{
return m_tracksView;
......
......@@ -47,7 +47,7 @@ public:
};
AbstractGraphicsMediaItem();
virtual ~AbstractGraphicsMediaItem() { }
virtual ~AbstractGraphicsMediaItem();
/// Defines the outer bounds of the item as a rectangle
virtual QRectF boundingRect() const;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment