summaryrefslogtreecommitdiff
path: root/gtk2_ardour/sfdb_freesound_mootcher.cc
diff options
context:
space:
mode:
authorColin Fletcher <colin.m.fletcher@googlemail.com>2013-06-17 16:46:18 +0100
committerColin Fletcher <colin.m.fletcher@googlemail.com>2013-06-21 21:33:56 +0100
commit7ba817e36fb72c28077cc8143d14d2c09cd6addf (patch)
tree22b4985f1a0cfcb43d1be42f32b9142c04d99e24 /gtk2_ardour/sfdb_freesound_mootcher.cc
parent8ad4924b7f6d12037753e0a93b5f861b443614ae (diff)
Amend comment to 'delete this'
Amend comment to 'delete this' to describe why I think it's OK.
Diffstat (limited to 'gtk2_ardour/sfdb_freesound_mootcher.cc')
-rw-r--r--gtk2_ardour/sfdb_freesound_mootcher.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/sfdb_freesound_mootcher.cc b/gtk2_ardour/sfdb_freesound_mootcher.cc
index e6861cd1f4..8e57d9a0c4 100644
--- a/gtk2_ardour/sfdb_freesound_mootcher.cc
+++ b/gtk2_ardour/sfdb_freesound_mootcher.cc
@@ -340,7 +340,7 @@ Mootcher::doneWithMootcher()
// update the sound info pane if the selection in the list box is still us
sfb->refresh_display(ID, audioFileName);
- delete this; // XXX is this a good idea?
+ delete this; // this should be OK to do as long as Progress and Finished signals are always received in the order in which they are emitted
}
static void *