From 11baba02750816fd83c50a7dc5acb5f147f91929 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 3 Apr 2017 23:33:27 +0200 Subject: remove Session::track_by_diskstream_id() --- gtk2_ardour/playlist_selector.cc | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'gtk2_ardour/playlist_selector.cc') 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 tr = boost::dynamic_pointer_cast (_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; -- cgit v1.2.3