remove old connections to (now) static Location signals

This commit is contained in:
Paul Davis 2014-09-17 09:39:05 -04:00
parent 73f2baf5c6
commit 4130513689

View file

@ -163,9 +163,6 @@ Editor::add_new_location_internal (Location* location)
lam->show ();
}
location->start_changed.connect (*this, invalidator (*this), boost::bind (&Editor::location_changed, this, _1), gui_context());
location->end_changed.connect (*this, invalidator (*this), boost::bind (&Editor::location_changed, this, _1), gui_context());
location->changed.connect (*this, invalidator (*this), boost::bind (&Editor::location_changed, this, _1), gui_context());
location->name_changed.connect (*this, invalidator (*this), boost::bind (&Editor::location_changed, this, _1), gui_context());
location->FlagsChanged.connect (*this, invalidator (*this), boost::bind (&Editor::location_flags_changed, this, _1, _2), gui_context());