OMNIBUS COMMIT: prefer const XMLNode::property method (and provide a real one)

This commit is contained in:
Paul Davis 2016-05-04 23:09:37 -04:00
parent 9b3b1d945f
commit 17ace643e4
94 changed files with 294 additions and 254 deletions

View file

@ -402,7 +402,7 @@ ExportVideoDialog::apply_state (TimeSelection &tme, bool range)
node = _session->extra_xml (X_("Videoexport"));
if (node) {
const XMLProperty* prop;
XMLProperty const * prop;
prop = node->property (X_("ChangeGeometry"));
if (prop) { scale_checkbox.set_active(atoi(prop->value())?true:false); }
prop = node->property (X_("KeepAspect"));