diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2016-09-21 12:58:56 +1000 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2017-04-19 09:37:01 +1000 |
commit | c149d7d64c19f223565c9c0e941ff15a4ff030e7 (patch) | |
tree | 2af703d3b2268a286c24bf4194e1f12fa6ccf914 /gtk2_ardour/control_slave_ui.cc | |
parent | 926a06474476bcd4725be25f54eea04932c41137 (diff) |
Use PBD::to_string() from pbd/string_convert.h in ControlSlaveUI
The numeric formatting is equivalent.
Diffstat (limited to 'gtk2_ardour/control_slave_ui.cc')
-rw-r--r-- | gtk2_ardour/control_slave_ui.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/control_slave_ui.cc b/gtk2_ardour/control_slave_ui.cc index 8842590bb1..0223b00003 100644 --- a/gtk2_ardour/control_slave_ui.cc +++ b/gtk2_ardour/control_slave_ui.cc @@ -20,7 +20,7 @@ #include <gtkmm/menu.h> -#include "pbd/convert.h" +#include "pbd/string_convert.h" #include "ardour/session.h" #include "ardour/stripable.h" @@ -234,7 +234,7 @@ ControlSlaveUI::add_vca_button (boost::shared_ptr<VCA> vca) vca_button->set_name (X_("vca assign")); vca_button->add_events (Gdk::BUTTON_PRESS_MASK|Gdk::BUTTON_RELEASE_MASK); vca_button->signal_button_release_event().connect (sigc::bind (sigc::mem_fun (*this, &ControlSlaveUI::specific_vca_button_release), vca->number()), false); - vca_button->set_text (PBD::to_string (vca->number(), std::dec)); + vca_button->set_text (PBD::to_string (vca->number())); vca_button->set_fixed_colors (vca->presentation_info().color(), vca->presentation_info().color ()); vca->presentation_info().PropertyChanged.connect (master_connections, invalidator (*this), boost::bind (&ControlSlaveUI::master_property_changed, this, _1), gui_context()); |