diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-05-05 00:35:13 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-05-06 20:15:30 +0200 |
| commit | 9262839360779de83b711f86151fcf56b86c3989 (patch) | |
| tree | a06d07a6d7be08fc8b41ec24fb3a3c8734115916 /src/wx/kdm_output_panel.cc | |
| parent | aa382124eeabcad7a7346d46fb5f931c1364a849 (diff) | |
Replace CinemaKDMs class with a list<KDMWithMetadata>
Diffstat (limited to 'src/wx/kdm_output_panel.cc')
| -rw-r--r-- | src/wx/kdm_output_panel.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/wx/kdm_output_panel.cc b/src/wx/kdm_output_panel.cc index fe87dfccd..c2884008f 100644 --- a/src/wx/kdm_output_panel.cc +++ b/src/wx/kdm_output_panel.cc @@ -186,7 +186,7 @@ KDMOutputPanel::make ( list<KDMWithMetadataPtr> screen_kdms, string name, KDMTimingPanel* timing, function<bool (boost::filesystem::path)> confirm_overwrite ) { - list<CinemaKDMs> const cinema_kdms = collect (screen_kdms); + list<list<KDMWithMetadataPtr> > const cinema_kdms = collect (screen_kdms); /* Decide whether to proceed */ @@ -200,8 +200,8 @@ KDMOutputPanel::make ( } bool cinemas_with_no_email = false; - BOOST_FOREACH (CinemaKDMs i, cinema_kdms) { - if (i.cinema->emails.empty ()) { + BOOST_FOREACH (list<KDMWithMetadataPtr> i, cinema_kdms) { + if (i.front()->cinema()->emails.empty ()) { cinemas_with_no_email = true; } } @@ -215,8 +215,8 @@ KDMOutputPanel::make ( if (proceed && Config::instance()->confirm_kdm_email ()) { list<string> emails; - BOOST_FOREACH (CinemaKDMs i, cinema_kdms) { - BOOST_FOREACH (string j, i.cinema->emails) { + BOOST_FOREACH (list<KDMWithMetadataPtr> const& i, cinema_kdms) { + BOOST_FOREACH (string j, i.front()->cinema()->emails) { emails.push_back (j); } } |
