summaryrefslogtreecommitdiff
path: root/gtk2_ardour/playlist_selector.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2017-04-03 23:33:27 +0200
committerPaul Davis <paul@linuxaudiosystems.com>2017-09-18 11:40:52 -0400
commit11baba02750816fd83c50a7dc5acb5f147f91929 (patch)
tree06af19e06eab1010e699b273d89e8807d30904a0 /gtk2_ardour/playlist_selector.cc
parenta4a87f56e9dc8e2351101439aeea7a87064fa146 (diff)
remove Session::track_by_diskstream_id()
Diffstat (limited to 'gtk2_ardour/playlist_selector.cc')
-rw-r--r--gtk2_ardour/playlist_selector.cc12
1 files changed, 0 insertions, 12 deletions
diff --git a/gtk2_ardour/playlist_selector.cc b/gtk2_ardour/playlist_selector.cc
index fa9d5531a6..11d5d3a882 100644
--- a/gtk2_ardour/playlist_selector.cc
+++ b/gtk2_ardour/playlist_selector.cc
@@ -119,18 +119,6 @@ PlaylistSelector::show_for (RouteUI* ruix)
boost::shared_ptr<Track> tr = boost::dynamic_pointer_cast<Track> (_session->route_by_id (x->first));
- /* legacy sessions stored the diskstream ID as the original
- * playlist owner. so try there instead.
- */
-
- if (tr == 0) {
- tr = _session->track_by_diskstream_id (x->first);
- }
-
- if (tr == 0) {
- continue;
- }
-
/* add a node for the track */
string nodename;