SANKORE-301 fix incorrect memory pointers usage (pointers collect in mFastAccessList and objects is never clear)

preferencesAboutTextFull
Anatoly Mihalchenko 13 years ago
parent ff6fbd525f
commit d15e23d629
  1. 4
      src/domain/UBGraphicsItemDelegate.cpp

@ -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)

Loading…
Cancel
Save