diff options
author | Robin Gareus <robin@gareus.org> | 2017-06-17 18:26:59 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-06-17 18:29:26 +0200 |
commit | 506b478fe7717c849e2aac60137d65fce90dc2ad (patch) | |
tree | 38418a681d04bdea90884bbc8ade3bc9c677fe54 /gtk2_ardour | |
parent | fec5aec9a00bfc17caf023a6b48d0fd0047a9994 (diff) |
NO-OP, just cleanup & scope
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/editor_routes.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gtk2_ardour/editor_routes.cc b/gtk2_ardour/editor_routes.cc index 99d6cae559..45b9797f78 100644 --- a/gtk2_ardour/editor_routes.cc +++ b/gtk2_ardour/editor_routes.cc @@ -944,8 +944,7 @@ EditorRoutes::update_visibility () (*i)[_columns.visible] = tv->marked_for_display (); } - /* force route order keys catch up with visibility changes - */ + /* force route order keys catch up with visibility changes */ sync_presentation_info_from_treeview (); } @@ -998,17 +997,17 @@ EditorRoutes::sync_presentation_info_from_treeview () DEBUG_TRACE (DEBUG::OrderKeys, "editor sync presentation info from treeview\n"); - TreeModel::Children::iterator ri; bool change = false; PresentationInfo::order_t order = 0; PresentationInfo::ChangeSuspender cs; - for (ri = rows.begin(); ri != rows.end(); ++ri) { + for (TreeModel::Children::iterator ri = rows.begin(); ri != rows.end(); ++ri) { boost::shared_ptr<Stripable> stripable = (*ri)[_columns.stripable]; bool visible = (*ri)[_columns.visible]; #ifndef NDEBUG // these should not exist in the treeview + assert (stripable); if (stripable->is_monitor() || stripable->is_auditioner()) { assert (0); continue; |