fix: dialog bugs surfaced by new gtest coverage
- SequencePreset::Save() wrote element "interlacing_" while Load() read "interlacing", losing the interlacing mode on preset round-trips; Save() now writes "interlacing" and Load() accepts both for backward compatibility with existing preset files - ExportFormatComboBox: current_ was never initialized (UB on GetFormat before first user selection) - ExportSubtitlesTab::SetSidecarEnabled() called setEnabled instead of setChecked, so restored export params could never re-enable sidecar subtitles - h264section.h: static const int constants were odr-use unsafe (link error when referenced); changed to static constexpr
This commit is contained in:
@@ -71,7 +71,7 @@ private:
|
||||
|
||||
Menu *custom_menu_;
|
||||
|
||||
ExportFormat::Format current_;
|
||||
ExportFormat::Format current_ = ExportFormat::kFormatCount;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user