summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2018-10-10 11:56:49 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2018-10-10 11:56:49 -0400
commit1b75e294b9a53a9c2e7306195b975450f8bee804 (patch)
tree0667daf99ce79a6e6c8b67d776bf23bc3c8e9d0d
parent0542a3090182fa97bd355ef876cf1918408e32b0 (diff)
revert the coupling of location UI clock modes to transport clocks
-rw-r--r--gtk2_ardour/location_ui.cc9
-rw-r--r--gtk2_ardour/location_ui.h2
2 files changed, 0 insertions, 11 deletions
diff --git a/gtk2_ardour/location_ui.cc b/gtk2_ardour/location_ui.cc
index 8354b54a2a..7f658b9816 100644
--- a/gtk2_ardour/location_ui.cc
+++ b/gtk2_ardour/location_ui.cc
@@ -761,8 +761,6 @@ LocationUI::LocationUI (std::string state_node_name)
_clock_group = new ClockGroup;
- ARDOUR_UI::instance()->primary_clock->mode_changed.connect (sigc::mem_fun(*this, &LocationUI::set_clock_mode_from_primary));
-
VBox* vbox = manage (new VBox);
Table* table = manage (new Table (2, 2));
@@ -1106,13 +1104,6 @@ LocationUI::refresh_location_list ()
}
void
-LocationUI::set_clock_mode_from_primary ()
-{
- _clock_group->set_clock_mode (ARDOUR_UI::instance()->primary_clock->mode());
- _mode_set = true;
-}
-
-void
LocationUI::set_session(ARDOUR::Session* s)
{
SessionHandlePtr::set_session (s);
diff --git a/gtk2_ardour/location_ui.h b/gtk2_ardour/location_ui.h
index d24dc840b3..2cd69b834c 100644
--- a/gtk2_ardour/location_ui.h
+++ b/gtk2_ardour/location_ui.h
@@ -215,8 +215,6 @@ private:
bool _mode_set;
std::string _state_node_name;
-
- void set_clock_mode_from_primary ();
};
class LocationUIWindow : public ArdourWindow