mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
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:
parent
5c1bd26458
commit
88cc2e951c
1 changed files with 0 additions and 3 deletions
|
|
@ -366,8 +366,6 @@ ExportVideoDialog::apply_state (TimeSelection &tme, bool range)
|
||||||
|
|
||||||
float tcfps = _session->timecode_frames_per_second();
|
float tcfps = _session->timecode_frames_per_second();
|
||||||
|
|
||||||
LocaleGuard lg;
|
|
||||||
|
|
||||||
XMLNode* node = _session->extra_xml (X_("Videotimeline"));
|
XMLNode* node = _session->extra_xml (X_("Videotimeline"));
|
||||||
bool filenameset = false;
|
bool filenameset = false;
|
||||||
if (node) {
|
if (node) {
|
||||||
|
|
@ -503,7 +501,6 @@ ExportVideoDialog::apply_state (TimeSelection &tme, bool range)
|
||||||
XMLNode&
|
XMLNode&
|
||||||
ExportVideoDialog::get_state ()
|
ExportVideoDialog::get_state ()
|
||||||
{
|
{
|
||||||
LocaleGuard lg;
|
|
||||||
XMLNode* node = new XMLNode (X_("Videoexport"));
|
XMLNode* node = new XMLNode (X_("Videoexport"));
|
||||||
node->set_property (X_("ChangeGeometry"), scale_checkbox.get_active());
|
node->set_property (X_("ChangeGeometry"), scale_checkbox.get_active());
|
||||||
node->set_property (X_("KeepAspect"), scale_aspect.get_active());
|
node->set_property (X_("KeepAspect"), scale_aspect.get_active());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue