summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-02-22 01:38:04 +0100
committerCarl Hetherington <cth@carlh.net>2025-02-23 01:47:38 +0100
commit0690032e5c176bb6a9db41c76a167fa4fbd4cb8d (patch)
treea56d36589400210f5c8b20e75bb5cdd71de74985 /src/tools
parent9dbd550788840b53cbcd80a3ed127afc785332ca (diff)
Make the player verify UI more like the standalone one.
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/dcpomatic_player.cc13
-rw-r--r--src/tools/dcpomatic_verifier.cc1
2 files changed, 4 insertions, 10 deletions
diff --git a/src/tools/dcpomatic_player.cc b/src/tools/dcpomatic_player.cc
index e558d666b..dc570653f 100644
--- a/src/tools/dcpomatic_player.cc
+++ b/src/tools/dcpomatic_player.cc
@@ -33,7 +33,6 @@
#include "wx/timer_display.h"
#include "wx/update_dialog.h"
#include "wx/verify_dcp_progress_dialog.h"
-#include "wx/verify_dcp_result_dialog.h"
#include "wx/wx_signal_manager.h"
#include "wx/wx_util.h"
#include "wx/wx_variant.h"
@@ -995,15 +994,9 @@ private:
auto dcp = std::dynamic_pointer_cast<DCPContent>(_film->content().front());
DCPOMATIC_ASSERT (dcp);
- auto job = make_shared<VerifyDCPJob>(dcp->directories(), _kdms);
- VerifyDCPProgressDialog progress(this, variant::wx::dcpomatic_player());
- bool const completed = progress.run(job);
- progress.Close();
-
- if (completed) {
- VerifyDCPResultDialog dialog(this, job);
- dialog.ShowModal();
- }
+ auto job = make_shared<VerifyDCPJob>(dcp->directories(), _kdms, dcp::VerificationOptions{});
+ VerifyDCPProgressDialog progress(this, _("Verify DCP"), job);
+ progress.ShowModal();
}
void tools_check_for_updates ()
diff --git a/src/tools/dcpomatic_verifier.cc b/src/tools/dcpomatic_verifier.cc
index 984d58a97..c8f9d8c8d 100644
--- a/src/tools/dcpomatic_verifier.cc
+++ b/src/tools/dcpomatic_verifier.cc
@@ -214,6 +214,7 @@ private:
}
_progress_panel->clear();
+ setup_sensitivity();
}
private: