diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-05-17 09:36:28 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-05-31 15:30:42 -0400 |
commit | 83052ad18cc8e73c353c6bba2a63f5231a686fe9 (patch) | |
tree | 9d378222931608dd89e6c3c2219231ace45a4aa8 /gtk2_ardour | |
parent | 2c27b3df93b46e60748ee22c184b881e91381998 (diff) |
clean up debug output for OrderKeys
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/editor_routes.cc | 9 | ||||
-rw-r--r-- | gtk2_ardour/mixer_ui.cc | 9 |
2 files changed, 3 insertions, 15 deletions
diff --git a/gtk2_ardour/editor_routes.cc b/gtk2_ardour/editor_routes.cc index c909c5a1c5..40ead04f7a 100644 --- a/gtk2_ardour/editor_routes.cc +++ b/gtk2_ardour/editor_routes.cc @@ -921,7 +921,7 @@ EditorRoutes::sync_presentation_info_from_treeview () return; } - DEBUG_TRACE (DEBUG::OrderKeys, "editor sync order keys from treeview\n"); + DEBUG_TRACE (DEBUG::OrderKeys, "editor sync presentation info from treeview\n"); TreeModel::Children::iterator ri; bool change = false; @@ -992,10 +992,6 @@ EditorRoutes::sync_treeview_from_presentation_info () for (TreeModel::Children::iterator ri = rows.begin(); ri != rows.end(); ++ri, ++old_order) { boost::shared_ptr<Route> route = (*ri)[_columns.route]; sorted.push_back (OrderKeys (old_order, route->presentation_info().group_order())); - DEBUG_TRACE (DEBUG::OrderKeys, string_compose ("build new order: route %3 old = %1 new = %1\n", - old_order, - route->presentation_info().group_order(), - route->name())); } SortByNewDisplayOrder cmp; @@ -1012,9 +1008,6 @@ EditorRoutes::sync_treeview_from_presentation_info () if (sr->old_display_order != n) { changed = true; } - - DEBUG_TRACE (DEBUG::OrderKeys, string_compose ("EDITOR change order from %1 to %2\n", - sr->old_display_order, n)); } if (changed) { diff --git a/gtk2_ardour/mixer_ui.cc b/gtk2_ardour/mixer_ui.cc index 3c8605642b..437bdf515a 100644 --- a/gtk2_ardour/mixer_ui.cc +++ b/gtk2_ardour/mixer_ui.cc @@ -588,7 +588,7 @@ Mixer_UI::sync_presentation_info_from_treeview () return; } - DEBUG_TRACE (DEBUG::OrderKeys, "mixer sync order keys from model\n"); + DEBUG_TRACE (DEBUG::OrderKeys, "mixer sync presentation info from treeview\n"); TreeModel::Children::iterator ri; bool change = false; @@ -613,8 +613,6 @@ Mixer_UI::sync_presentation_info_from_treeview () route->presentation_info().unset_flag (PresentationInfo::Hidden); } - DEBUG_TRACE (DEBUG::OrderKeys, string_compose ("route %1 old order %2 new order %3\n", route->name(), route->presentation_info().group_order(), order)); - if (order != route->presentation_info().group_order()) { route->set_presentation_group_order_explicit (order); change = true; @@ -636,7 +634,7 @@ Mixer_UI::sync_treeview_from_presentation_info () return; } - DEBUG_TRACE (DEBUG::OrderKeys, "mixer sync model from order keys.\n"); + DEBUG_TRACE (DEBUG::OrderKeys, "mixer sync model from presentation info.\n"); /* we could get here after either a change in the Mixer or Editor sort * order, but either way, the mixer order keys reflect the intended @@ -695,9 +693,6 @@ Mixer_UI::sync_treeview_from_presentation_info () if (sr->old_display_order != n) { changed = true; } - - DEBUG_TRACE (DEBUG::OrderKeys, string_compose ("MIXER change order from %1 to %2\n", - sr->old_display_order, n)); } if (changed) { |