X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Ftools%2Fdcpomatic_kdm.cc;h=98d701fab3dc1ab92dbfb98f60dbb74e9ea5cf09;hb=7ec6c86c913fba820870565ee757fdf43ae47433;hp=4a98619f2220889f611a40cdbbd35a06f17405ee;hpb=f3bc2bad4657d660a07f9578b2cb1897b4e9d8c2;p=dcpomatic.git diff --git a/src/tools/dcpomatic_kdm.cc b/src/tools/dcpomatic_kdm.cc index 4a98619f2..98d701fab 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" @@ -49,14 +48,14 @@ #include #include #include -#include "lib/warnings.h" -DCPOMATIC_DISABLE_WARNINGS +#include +LIBDCP_DISABLE_WARNINGS #include #include #include #include #include -DCPOMATIC_ENABLE_WARNINGS +LIBDCP_ENABLE_WARNINGS #ifdef __WXOSX__ #include #endif @@ -339,7 +338,7 @@ private: begin, end, decrypted.annotation_text().get_value_or (""), - decrypted.content_title_text(), + title, dcp::LocalTime().as_string() ); @@ -621,7 +620,7 @@ public: private: - bool OnInit () + bool OnInit () override { wxSplashScreen* splash = nullptr; @@ -691,7 +690,7 @@ private: } /* An unhandled exception has occurred inside the main event loop */ - bool OnExceptionInMainLoop () + bool OnExceptionInMainLoop () override { try { throw; @@ -720,7 +719,7 @@ private: return false; } - void OnUnhandledException () + void OnUnhandledException () override { error_dialog (nullptr, _("An unknown exception occurred.") + " " + REPORT_PROBLEM); }