From 7987b15d5555adc506b207f32617798f85315961 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 9 Dec 2025 01:11:59 +0100 Subject: Move CPLSummary into a faster version in libdcp. --- src/wx/kdm_cpl_panel.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/wx/kdm_cpl_panel.cc') diff --git a/src/wx/kdm_cpl_panel.cc b/src/wx/kdm_cpl_panel.cc index eb02638a2..45ed865dc 100644 --- a/src/wx/kdm_cpl_panel.cc +++ b/src/wx/kdm_cpl_panel.cc @@ -34,7 +34,7 @@ LIBDCP_ENABLE_WARNINGS using std::vector; -KDMCPLPanel::KDMCPLPanel (wxWindow* parent, vector cpls) +KDMCPLPanel::KDMCPLPanel(wxWindow* parent, vector cpls) : wxPanel (parent, wxID_ANY) , _cpls (cpls) { @@ -94,7 +94,7 @@ KDMCPLPanel::update_cpl_summary () return; } - _dcp_directory->SetLabel (std_to_wx (_cpls[n].dcp_directory)); + _dcp_directory->SetLabel(std_to_wx(_cpls[n].dcp_directory.string())); _cpl_id->SetLabel (std_to_wx (_cpls[n].cpl_id)); _cpl_annotation_text->SetLabel (std_to_wx(_cpls[n].cpl_annotation_text.get_value_or(""))); @@ -140,7 +140,7 @@ KDMCPLPanel::cpl_browse_clicked () */ _cpls.push_back ( - CPLSummary ( + dcp::CPLSummary( dcp_dir.filename().string(), cpl_document.string_child("Id").substr (9), cpl_document.string_child("ContentTitleText"), -- cgit v1.2.3