Commit d15e23d6 authored by Anatoly Mihalchenko's avatar Anatoly Mihalchenko

SANKORE-301 fix incorrect memory pointers usage (pointers collect in...

SANKORE-301 fix incorrect memory pointers usage (pointers collect in mFastAccessList and objects is never clear)
parent ff6fbd52
......@@ -282,8 +282,8 @@ void UBGraphicsItemDelegate::positionHandles()
void UBGraphicsItemDelegate::remove(bool canUndo)
{
QGraphicsScene* scene = mDelegated->scene();
// QGraphicsScene* scene = mDelegated->scene();
UBGraphicsScene* scene = (UBGraphicsScene*)(mDelegated->scene());
if (scene)
{
foreach(DelegateButton* button, mButtons)
......
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