From c149d7d64c19f223565c9c0e941ff15a4ff030e7 Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Wed, 21 Sep 2016 12:58:56 +1000 Subject: [PATCH] Use PBD::to_string() from pbd/string_convert.h in ControlSlaveUI The numeric formatting is equivalent. --- gtk2_ardour/control_slave_ui.cc | 4 ++-- 1 file 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 -#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_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());