diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-08-08 18:11:11 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-08-09 10:18:46 +0200 |
| commit | a3c1ae7c2e46b65347341896b3d1a505ff92632b (patch) | |
| tree | 2b096eb0676f52c9989952e341f2bd98143ce125 /src/wx/timing_panel.cc | |
| parent | af5b9dfadf8989311cd5f78554349f0283912522 (diff) | |
Extract Film::Property to its own header to (maybe) increase compilation speed.
Diffstat (limited to 'src/wx/timing_panel.cc')
| -rw-r--r-- | src/wx/timing_panel.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/wx/timing_panel.cc b/src/wx/timing_panel.cc index 890049ae9..98060bb87 100644 --- a/src/wx/timing_panel.cc +++ b/src/wx/timing_panel.cc @@ -32,6 +32,7 @@ #include "lib/dcp_content.h" #include "lib/dcp_subtitle_content.h" #include "lib/ffmpeg_content.h" +#include "lib/film.h" #include "lib/image_content.h" #include "lib/scope_guard.h" #include "lib/string_text_file_content.h" @@ -421,9 +422,9 @@ TimingPanel::content_selection_changed () } void -TimingPanel::film_changed (Film::Property p) +TimingPanel::film_changed(FilmProperty p) { - if (p == Film::Property::VIDEO_FRAME_RATE) { + if (p == FilmProperty::VIDEO_FRAME_RATE) { update_full_length (); update_play_length (); } |
