diff options
author | Carl Hetherington <carl@carlh.net> | 2010-10-20 00:19:09 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-10-20 00:19:09 +0000 |
commit | 7d2c21fddb2b63cd0ebca033c9f9faa48f01c38d (patch) | |
tree | 432546da7e819d15dd5dd580f42d97abeed011ba /gtk2_ardour/rhythm_ferret.cc | |
parent | ec52182f30a986399ea0f8bd6b5980fcb57f7b68 (diff) |
Clean up get_regions_for_action prototype slightly.
git-svn-id: svn://localhost/ardour2/branches/3.0@7909 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/rhythm_ferret.cc')
-rw-r--r-- | gtk2_ardour/rhythm_ferret.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gtk2_ardour/rhythm_ferret.cc b/gtk2_ardour/rhythm_ferret.cc index fbfcab6c49..4e87b7c46d 100644 --- a/gtk2_ardour/rhythm_ferret.cc +++ b/gtk2_ardour/rhythm_ferret.cc @@ -330,11 +330,7 @@ RhythmFerret::do_action () void RhythmFerret::do_split_action () { - /* this can/will change the current selection, so work with a copy */ - - //RegionSelection& regions (editor.get_selection().regions); - RegionSelection regions; - editor.get_regions_for_action(regions); + RegionSelection regions = editor.get_regions_for_action (); if (regions.empty()) { return; |