mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Remove Cruft
This commit is contained in:
parent
c02a3413e1
commit
f77540120c
3 changed files with 0 additions and 20 deletions
|
|
@ -1007,8 +1007,6 @@ EditorRoutes::sync_presentation_info_from_treeview ()
|
|||
bool change = false;
|
||||
PresentationInfo::order_t order = 0;
|
||||
|
||||
TreeOrderKeys sorted;
|
||||
|
||||
PresentationInfo::ChangeSuspender cs;
|
||||
|
||||
for (ri = rows.begin(); ri != rows.end(); ++ri) {
|
||||
|
|
@ -1028,8 +1026,6 @@ EditorRoutes::sync_presentation_info_from_treeview ()
|
|||
stripable->set_presentation_order (order);
|
||||
change = true;
|
||||
}
|
||||
|
||||
sorted.push_back (TreeOrderKey (order, stripable));
|
||||
++order;
|
||||
}
|
||||
|
||||
|
|
@ -1116,18 +1112,12 @@ EditorRoutes::sync_treeview_from_presentation_info (PropertyChange const & what_
|
|||
* already updated itself.
|
||||
*/
|
||||
|
||||
TrackViewList tvl;
|
||||
PBD::Unwinder<bool> uw (_ignore_selection_change, true);
|
||||
|
||||
/* set the treeview model selection state */
|
||||
|
||||
for (TreeModel::Children::iterator ri = rows.begin(); ri != rows.end(); ++ri) {
|
||||
boost::shared_ptr<Stripable> stripable = (*ri)[_columns.stripable];
|
||||
if (stripable && stripable->is_selected()) {
|
||||
TimeAxisView* tav = (*ri)[_columns.tv];
|
||||
if (tav) {
|
||||
tvl.push_back (tav);
|
||||
}
|
||||
_display.get_selection()->select (*ri);
|
||||
} else {
|
||||
_display.get_selection()->unselect (*ri);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue