summaryrefslogtreecommitdiff
path: root/src/wx/kdm_cpl_panel.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-12-09 01:11:59 +0100
committerCarl Hetherington <cth@carlh.net>2025-12-09 02:41:38 +0100
commit7987b15d5555adc506b207f32617798f85315961 (patch)
tree20ed24a9846a46dc1739ed0a061d22b0df372a8b /src/wx/kdm_cpl_panel.cc
parent783991b0f89d948f760829b923490210fb52f56a (diff)
Move CPLSummary into a faster version in libdcp.
Diffstat (limited to 'src/wx/kdm_cpl_panel.cc')
-rw-r--r--src/wx/kdm_cpl_panel.cc6
1 files changed, 3 insertions, 3 deletions
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<CPLSummary> cpls)
+KDMCPLPanel::KDMCPLPanel(wxWindow* parent, vector<dcp::CPLSummary> 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"),