• Aleksei Kanash's avatar
    Removed memory leaks at deletion of UBGraphicsGroupContainerItem. · 990458d1
    Aleksei Kanash authored
    Corrected adding items to group.
    Corrected group creation.
    Corrected adding items to scene - items shouldn't be added to itemsToRemove list because that list needs for cleaning undo stack.
    Improved mechanism of removing "itemsToRemove".
    Removed wrong deletion of mButtons list from UBGraphicsItemDelegate destructor because that buttons has Frame as parent.
    Removed possible memory leak in UBBoardController::clearUndoStack. Some items was able not deleted.
    tmpScene in cffReader not deletes now because ithas a proxy as parent.
    990458d1
UBGraphicsItemDelegate.cpp 37.3 KB