summaryrefslogtreecommitdiff
path: root/src/lib/variant.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-06-30 23:29:05 +0200
committerCarl Hetherington <cth@carlh.net>2024-06-30 23:29:05 +0200
commit179a45b67a7deec291a55c4d194e95971618e171 (patch)
tree374b8b1e6c13f06b9e304c623e83b3af24e7b987 /src/lib/variant.cc
parent6467d7542585b0d61f30c4a87ec93db1d52cc2f5 (diff)
Allow variant to hide all credits.
Diffstat (limited to 'src/lib/variant.cc')
-rw-r--r--src/lib/variant.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/variant.cc b/src/lib/variant.cc
index 9b12d753d..a9dc56307 100644
--- a/src/lib/variant.cc
+++ b/src/lib/variant.cc
@@ -40,6 +40,7 @@ static char const* _report_problem_email = "carl@dcpomatic.com";
static bool const _show_tagline = true;
static bool const _show_dcpomatic_website = true;
+static bool const _show_credits = true;
static bool const _show_report_a_problem = true;
static bool const _count_created_dcps = true;
@@ -153,6 +154,12 @@ variant::show_dcpomatic_website()
}
bool
+variant::show_credits()
+{
+ return _show_credits;
+}
+
+bool
variant::show_report_a_problem()
{
return _show_report_a_problem;