Remove LocaleGuard from ARDOUR_UI::save_ardour_state method
authorTim Mayberry <mojofunk@gmail.com>
Sun, 4 Sep 2016 23:35:03 +0000 (09:35 +1000)
committerTim Mayberry <mojofunk@gmail.com>
Thu, 22 Jun 2017 00:48:38 +0000 (10:48 +1000)
All float <=> string conversions are now done using PBD::to_string/string_to()
in ConfigVariable class or via XMLNode::get/set_property()

gtk2_ardour/ardour_ui_ed.cc

index ef0ed7805f7972f06865652ac440b1a3926d3154..1e3b3060763c0155e01d067f61260b3ccb9b7f01 100644 (file)
@@ -767,7 +767,6 @@ ARDOUR_UI::save_ardour_state ()
           a different lifetime model from add_instant_xml().
        */
 
-       LocaleGuard lg; // one guard to rule them all
        XMLNode* node = new XMLNode (keyboard->get_state());
        Config->add_extra_xml (*node);