summaryrefslogtreecommitdiff
path: root/src/wx/kdm_output_panel.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-05-07 00:00:40 +0200
committerCarl Hetherington <cth@carlh.net>2020-05-07 00:00:40 +0200
commit581797d640af1572f884ddf4395924894b745b3a (patch)
tree2b34f05ffe9ad73c49225e82d91a8dede9f3d6de /src/wx/kdm_output_panel.cc
parent2d8599e4277f1a357ed0f7101777ca9b18e3876a (diff)
Add a 'Make DKDM' dialogue box to simplify and (hopefully) clarify DKDM creation (#1637).
Diffstat (limited to 'src/wx/kdm_output_panel.cc')
-rw-r--r--src/wx/kdm_output_panel.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/wx/kdm_output_panel.cc b/src/wx/kdm_output_panel.cc
index f37865b94..a345d0e96 100644
--- a/src/wx/kdm_output_panel.cc
+++ b/src/wx/kdm_output_panel.cc
@@ -53,6 +53,7 @@ KDMOutputPanel::KDMOutputPanel (wxWindow* parent, bool interop)
, _forensic_mark_audio_up_to (12)
{
wxFlexGridSizer* table = new wxFlexGridSizer (2, DCPOMATIC_SIZER_X_GAP, 0);
+ table->AddGrowableCol (1);
add_label_to_sizer (table, this, _("KDM type"), true);
@@ -200,7 +201,7 @@ KDMOutputPanel::make (
bool cinemas_with_no_email = false;
BOOST_FOREACH (list<KDMWithMetadataPtr> i, cinema_kdms) {
- if (i.front()->cinema()->emails.empty ()) {
+ if (i.front()->emails().empty()) {
cinemas_with_no_email = true;
}
}
@@ -215,7 +216,7 @@ KDMOutputPanel::make (
if (proceed && Config::instance()->confirm_kdm_email ()) {
list<string> emails;
BOOST_FOREACH (list<KDMWithMetadataPtr> const& i, cinema_kdms) {
- BOOST_FOREACH (string j, i.front()->cinema()->emails) {
+ BOOST_FOREACH (string j, i.front()->emails()) {
emails.push_back (j);
}
}