summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-07-07 15:21:19 +0200
committerCarl Hetherington <cth@carlh.net>2022-07-20 10:38:17 +0200
commitf706bbb9afd10472e81a051cd5db601d6404377c (patch)
treee55e0c1c72d71c1eec008f3527757293c942c9b7 /src/tools
parent704bc0f8be05ddca94a3853a6e112f22f8f2df70 (diff)
Basic release notes support (#2282).
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/dcpomatic.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/tools/dcpomatic.cc b/src/tools/dcpomatic.cc
index ebcd05a68..6f55b1771 100644
--- a/src/tools/dcpomatic.cc
+++ b/src/tools/dcpomatic.cc
@@ -78,6 +78,7 @@
#include "lib/kdm_with_metadata.h"
#include "lib/log.h"
#include "lib/make_dcp.h"
+#include "lib/release_notes.h"
#include "lib/screen.h"
#include "lib/send_kdm_email_job.h"
#include "lib/signal_manager.h"
@@ -1686,6 +1687,14 @@ private:
if (Config::instance()->check_for_updates ()) {
UpdateChecker::instance()->run ();
}
+
+ auto release_notes = find_release_notes();
+ if (release_notes) {
+ auto notes = new HTMLDialog(nullptr, _("Release notes"), std_to_wx(*release_notes), true);
+ notes->Centre();
+ notes->ShowModal();
+ notes->Destroy();
+ }
}
catch (exception& e)
{