Mercurial > hg > svapp
changeset 333:0c37405cf579 tonioni
Comment on layer ownership
author | Chris Cannam |
---|---|
date | Wed, 05 Mar 2014 10:37:30 +0000 |
parents | 151b7c5864e3 |
children | f32fbb05d48c |
files | framework/Document.h |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/framework/Document.h Wed Mar 05 09:45:10 2014 +0000 +++ b/framework/Document.h Wed Mar 05 10:37:30 2014 +0000 @@ -239,7 +239,9 @@ void addLayerToView(View *, Layer *); /** - * Remove the given layer from the given view. + * Remove the given layer from the given view. Ownership of the + * layer is transferred to a command object on the undo stack, and + * the layer will be deleted when the undo stack is pruned. */ void removeLayerFromView(View *, Layer *);