diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-01-17 00:33:25 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-01-22 14:34:25 +0100 |
| commit | bb86ed993e1eb1ab29e21aab9fb94bc2e5d821aa (patch) | |
| tree | 43a71b5324e9deb56f8a69d41428c30247ade8ee /src/wx/screens_panel.h | |
| parent | 98a02007be3920f96af50d29ed0533fd74ffde56 (diff) | |
Fix some places where we have a full Cinema/Screen object available...
...but then ignore it and look it all up again in the database.
Diffstat (limited to 'src/wx/screens_panel.h')
| -rw-r--r-- | src/wx/screens_panel.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/wx/screens_panel.h b/src/wx/screens_panel.h index 98ec2c631..b6b5b6d55 100644 --- a/src/wx/screens_panel.h +++ b/src/wx/screens_panel.h @@ -40,6 +40,7 @@ namespace dcpomatic { class CheckBox; +class Cinema; class ScreensPanel : public wxPanel @@ -57,8 +58,8 @@ public: private: void add_cinemas (); - boost::optional<wxTreeListItem> add_cinema(CinemaID cinema, wxTreeListItem previous); - boost::optional<wxTreeListItem> add_screen(CinemaID cinema, ScreenID screen); + boost::optional<wxTreeListItem> add_cinema(CinemaID cinema_id, Cinema const& cinema, wxTreeListItem previous); + boost::optional<wxTreeListItem> add_screen(CinemaID cinema_id, ScreenID screen_id, dcpomatic::Screen const& screen); void add_cinema_clicked (); void edit_cinema_clicked (); void edit_cinema(CinemaID cinema_id); |
