diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-12-22 13:39:41 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-12-22 13:39:46 -0500 |
commit | 64fa63212f7e79bab16147817211a33a3f7c8fba (patch) | |
tree | 54721a2dbd50611e7e5047e818ddfab2b67309dc /gtk2_ardour/tempo_dialog.cc | |
parent | 795c5c16f17867bb55b724abfe99bc9200184305 (diff) |
move all (G)UI related configuration parameters into UIConfiguration, not RCConfiguration
Diffstat (limited to 'gtk2_ardour/tempo_dialog.cc')
-rw-r--r-- | gtk2_ardour/tempo_dialog.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gtk2_ardour/tempo_dialog.cc b/gtk2_ardour/tempo_dialog.cc index e13dc059cf..4ca3bf32f4 100644 --- a/gtk2_ardour/tempo_dialog.cc +++ b/gtk2_ardour/tempo_dialog.cc @@ -23,8 +23,7 @@ #include "gtkmm2ext/utils.h" -#include "ardour/rc_configuration.h" - +#include "ardour_ui.h" #include "tempo_dialog.h" #include "i18n.h" @@ -108,7 +107,7 @@ TempoDialog::init (const Timecode::BBT_Time& when, double bpm, double note_type, Table* table; - if (Config->get_allow_non_quarter_pulse()) { + if (ARDOUR_UI::config()->get_allow_non_quarter_pulse()) { table = manage (new Table (5, 5)); } else { table = manage (new Table (5, 4)); @@ -122,7 +121,7 @@ TempoDialog::init (const Timecode::BBT_Time& when, double bpm, double note_type, table->attach (*bpm_label, 0, 1, 0, 1); table->attach (bpm_spinner, 1, 5, 0, 1); - if (Config->get_allow_non_quarter_pulse()) { + if (ARDOUR_UI::config()->get_allow_non_quarter_pulse()) { table->attach (pulse_selector_label, 0, 1, 1, 2); table->attach (pulse_selector, 1, 5, 1, 2); row = 2; |