This is an automatically generated e-mail. To reply, visit: http://svn.reviewboard.kde.org/r/5680/ |
On October 22nd, 2010, 11:56 a.m., Sven Langkamp wrote:
I noticed that the patch still uses KisShapeLayer::addChild that should not with the ShapeLayerContainerModelOn October 22nd, 2010, 2:55 p.m., Dmitry Kazakov wrote:
Yeah, they are identical atm. I wanted to deprecate addChild in the next patch. Btw, there is a problem with it: addChild has an optional parameter that disables updates and it is used in a single place. I haven't got an idea how to workaround it yet. Do you have one?
The update check prevented calling setDirty in KisShapeLayerShapePaste. There was a problem that the setDirty call created a shared pointer which deleted the shape layer when running out of scope.
- Sven
On October 21st, 2010, 8:58 p.m., Dmitry Kazakov wrote:
Review request for KOffice.
By Dmitry Kazakov.
Updated 2010-10-21 20:58:38 Description
Diffs
|