mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 03:36:32 +01:00
Remove unused method in RouteTimeAxisView. Fix bug with switching to layered region mode.
Optimise Playlist::relayer(). git-svn-id: svn://localhost/ardour2/branches/3.0@5572 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
c91da28eb2
commit
09eee1bb7c
4 changed files with 61 additions and 49 deletions
|
|
@ -303,21 +303,6 @@ RouteTimeAxisView::post_construct ()
|
|||
reset_processor_automation_curves ();
|
||||
}
|
||||
|
||||
void
|
||||
RouteTimeAxisView::set_playlist (boost::shared_ptr<Playlist> /*newplaylist*/)
|
||||
{
|
||||
boost::shared_ptr<Playlist> pl = playlist();
|
||||
assert(pl);
|
||||
|
||||
modified_connection.disconnect ();
|
||||
modified_connection = pl->Modified.connect (mem_fun(*this, &RouteTimeAxisView::playlist_modified));
|
||||
}
|
||||
|
||||
void
|
||||
RouteTimeAxisView::playlist_modified ()
|
||||
{
|
||||
}
|
||||
|
||||
gint
|
||||
RouteTimeAxisView::edit_click (GdkEventButton *ev)
|
||||
{
|
||||
|
|
@ -342,10 +327,6 @@ void
|
|||
RouteTimeAxisView::playlist_changed ()
|
||||
{
|
||||
label_view ();
|
||||
|
||||
if (is_track()) {
|
||||
set_playlist (get_diskstream()->playlist());
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
|
@ -1163,7 +1144,6 @@ RouteTimeAxisView::update_diskstream_display ()
|
|||
if (!get_diskstream()) // bus
|
||||
return;
|
||||
|
||||
set_playlist (get_diskstream()->playlist());
|
||||
map_frozen ();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue