Remove LocaleGuards from ExportVideoDialog class

All float <=> string conversion is now done using PBD::to_string/string_to()
via XMLNode::get/set_property()
This commit is contained in:
Tim Mayberry 2016-09-05 08:59:36 +10:00
parent 5c1bd26458
commit 88cc2e951c

View File

@ -366,8 +366,6 @@ ExportVideoDialog::apply_state (TimeSelection &tme, bool range)
float tcfps = _session->timecode_frames_per_second();
LocaleGuard lg;
XMLNode* node = _session->extra_xml (X_("Videotimeline"));
bool filenameset = false;
if (node) {
@ -503,7 +501,6 @@ ExportVideoDialog::apply_state (TimeSelection &tme, bool range)
XMLNode&
ExportVideoDialog::get_state ()
{
LocaleGuard lg;
XMLNode* node = new XMLNode (X_("Videoexport"));
node->set_property (X_("ChangeGeometry"), scale_checkbox.get_active());
node->set_property (X_("KeepAspect"), scale_aspect.get_active());