remove pointless version of Stripable::set_presentation_order()
This commit is contained in:
parent
d9f19ad1fe
commit
2afaa51717
@ -1030,7 +1030,7 @@ EditorRoutes::sync_presentation_info_from_treeview ()
|
||||
stripable->presentation_info().set_hidden (!visible);
|
||||
|
||||
if (order != stripable->presentation_info().order()) {
|
||||
stripable->set_presentation_order_explicit (order);
|
||||
stripable->set_presentation_order (order, false);
|
||||
change = true;
|
||||
}
|
||||
|
||||
|
@ -682,14 +682,14 @@ GroupTabs::collect (RouteGroup* g)
|
||||
--diff;
|
||||
}
|
||||
|
||||
(*j)->set_presentation_order_explicit (coll);
|
||||
(*j)->set_presentation_order (coll, false);
|
||||
|
||||
++coll;
|
||||
++i;
|
||||
|
||||
} else {
|
||||
|
||||
(*j)->set_presentation_order_explicit (k + diff);
|
||||
(*j)->set_presentation_order (k + diff, false);
|
||||
|
||||
}
|
||||
|
||||
|
@ -737,7 +737,7 @@ Mixer_UI::sync_presentation_info_from_treeview ()
|
||||
stripable->presentation_info().set_hidden (!visible);
|
||||
|
||||
if (order != stripable->presentation_info().order()) {
|
||||
stripable->set_presentation_order_explicit (order);
|
||||
stripable->set_presentation_order (order, false);
|
||||
change = true;
|
||||
}
|
||||
|
||||
|
@ -77,7 +77,6 @@ class LIBARDOUR_API Stripable : public SessionObject {
|
||||
/* set just the order */
|
||||
|
||||
void set_presentation_order (PresentationInfo::order_t, bool notify_class_listeners = true);
|
||||
void set_presentation_order_explicit (PresentationInfo::order_t);
|
||||
|
||||
struct PresentationOrderSorter {
|
||||
bool operator() (boost::shared_ptr<Stripable> a, boost::shared_ptr<Stripable> b) {
|
||||
|
@ -3453,7 +3453,7 @@ Session::add_routes_inner (RouteList& new_routes, bool input_auto_connect, bool
|
||||
|
||||
if (order == PresentationInfo::max_order) {
|
||||
/* just add to the end */
|
||||
r->set_presentation_order_explicit (n_routes + added);
|
||||
r->set_presentation_order (n_routes + added, false);
|
||||
DEBUG_TRACE (DEBUG::OrderKeys, string_compose ("group order not set, set to NR %1 + %2 = %3\n", n_routes, added, n_routes + added));
|
||||
} else {
|
||||
r->set_presentation_order (order + added);
|
||||
|
@ -48,12 +48,6 @@ Stripable::set_presentation_order (PresentationInfo::order_t order, bool notify_
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
Stripable::set_presentation_order_explicit (PresentationInfo::order_t order)
|
||||
{
|
||||
_presentation_info.set_order (order);
|
||||
}
|
||||
|
||||
int
|
||||
Stripable::set_state (XMLNode const& node, int version)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user