Mercurial > hg > svapp
diff framework/Document.h @ 52:43ad8d909e28
* Fix #1815930 new crash, just introduced!
author | Chris Cannam |
---|---|
date | Fri, 02 Nov 2007 14:12:17 +0000 |
parents | e41af8419d4a |
children | de2b3c6479c8 |
line wrap: on
line diff
--- a/framework/Document.h Thu Nov 01 17:24:38 2007 +0000 +++ b/framework/Document.h Fri Nov 02 14:12:17 2007 +0000 @@ -119,6 +119,14 @@ QString configurationXml); /** + * Delete the given layer, and also its associated model if no + * longer used by any other layer. In general, this should be the + * only method used to delete layers -- doing so directly is a bit + * of a social gaffe. + */ + void deleteLayer(Layer *, bool force = false); + + /** * Set the main model (the source for playback sample rate, etc) * to the given wave file model. This will regenerate any derived * models that were based on the previous main model. @@ -230,14 +238,6 @@ void releaseModel(Model *model); /** - * Delete the given layer, and also its associated model if no - * longer used by any other layer. In general, this should be the - * only method used to delete layers -- doing so directly is a bit - * of a social gaffe. - */ - void deleteLayer(Layer *, bool force = false); - - /** * If model is suitable for alignment, align it against the main * model and store the alignment in the model. (If the model has * an alignment already for the current main model, leave it