X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Ftools%2Fdcpomatic_kdm.cc;h=481b0fb8b0130d936fc1c2aeb20400296e48a0a8;hb=b915348a8288d68e2ff114fb3dd89ad22e699969;hp=4d84f2f339e02af8dc9312e7bc4e60bc96616541;hpb=5ccfb74647db6917c054d6d67f91ed5a74e397ba;p=dcpomatic.git diff --git a/src/tools/dcpomatic_kdm.cc b/src/tools/dcpomatic_kdm.cc index 4d84f2f33..481b0fb8b 100644 --- a/src/tools/dcpomatic_kdm.cc +++ b/src/tools/dcpomatic_kdm.cc @@ -22,7 +22,6 @@ #include "wx/about_dialog.h" #include "wx/dcpomatic_button.h" #include "wx/editable_list.h" -#include "wx/file_dialog_wrapper.h" #include "wx/file_picker_ctrl.h" #include "wx/full_config_dialog.h" #include "wx/job_view_dialog.h" @@ -51,10 +50,11 @@ #include #include "lib/warnings.h" DCPOMATIC_DISABLE_WARNINGS -#include +#include #include #include -#include +#include +#include DCPOMATIC_ENABLE_WARNINGS #ifdef __WXOSX__ #include @@ -338,7 +338,7 @@ private: begin, end, decrypted.annotation_text().get_value_or (""), - decrypted.content_title_text(), + title, dcp::LocalTime().as_string() ); @@ -620,7 +620,7 @@ public: private: - bool OnInit () + bool OnInit () override { wxSplashScreen* splash = nullptr; @@ -719,7 +719,7 @@ private: return false; } - void OnUnhandledException () + void OnUnhandledException () override { error_dialog (nullptr, _("An unknown exception occurred.") + " " + REPORT_PROBLEM); }