Remove unused EditorRoutes selection filter

This commit is contained in:
Robin Gareus 2019-08-12 19:31:42 +02:00
parent f4897bb475
commit 12da3016e6
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 0 additions and 13 deletions

View File

@ -260,7 +260,6 @@ EditorRoutes::EditorRoutes (Editor* e)
_display.set_headers_visible (true);
_display.get_selection()->set_mode (SELECTION_MULTIPLE);
_display.get_selection()->set_select_function (sigc::mem_fun (*this, &EditorRoutes::selection_filter));
_display.get_selection()->signal_changed().connect (sigc::mem_fun (*this, &EditorRoutes::selection_changed));
_display.set_reorderable (true);
_display.set_name (X_("EditGroupList"));
@ -1470,17 +1469,6 @@ EditorRoutes::selection_changed ()
_editor->commit_reversible_selection_op ();
}
bool
EditorRoutes::selection_filter (Glib::RefPtr<TreeModel> const& model, TreeModel::Path const& path, bool /*selected*/)
{
TreeModel::iterator iter = model->get_iter (path);
if (iter) {
boost::shared_ptr<Stripable> stripable = (*iter)[_columns.stripable];
}
return true;
}
void
EditorRoutes::initial_display ()
{

View File

@ -117,7 +117,6 @@ private:
int plugin_setup (boost::shared_ptr<ARDOUR::Route>, boost::shared_ptr<ARDOUR::PluginInsert>, ARDOUR::Route::PluginSetupOptions);
bool selection_filter (Glib::RefPtr<Gtk::TreeModel> const &, Gtk::TreeModel::Path const &, bool);
void name_edit (std::string const &, std::string const &);
void solo_changed_so_update_mute ();