diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-01-03 02:29:24 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-01-03 02:29:48 +0100 |
| commit | 9ef42119694384a024104e9456e01d3c0e7bca2f (patch) | |
| tree | 0074eaba9a10b8dd39e7d77b5bb1dff181f1040d /src/lib | |
| parent | 8c9194e9cf773af29aee3e5ad327478de62dac7e (diff) | |
Fix failure to save screen notes when making a new one (github bug #6).
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/screen.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/screen.h b/src/lib/screen.h index eff2e5ffe..cfb45684b 100644 --- a/src/lib/screen.h +++ b/src/lib/screen.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2013-2018 Carl Hetherington <cth@carlh.net> + Copyright (C) 2013-2019 Carl Hetherington <cth@carlh.net> This file is part of DCP-o-matic. @@ -56,8 +56,9 @@ private: class Screen { public: - Screen (std::string const & n, boost::optional<dcp::Certificate> rec, std::vector<TrustedDevice> td) - : name (n) + Screen (std::string const & na, std::string const & no, boost::optional<dcp::Certificate> rec, std::vector<TrustedDevice> td) + : name (na) + , notes (no) , recipient (rec) , trusted_devices (td) {} |
