summaryrefslogtreecommitdiff
path: root/src/wx
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2026-01-27 23:38:00 +0100
committerCarl Hetherington <cth@carlh.net>2026-02-16 01:20:17 +0100
commit987d5bec15a752bbc3d914035e5ab34d5c9b4efe (patch)
tree7fb367a6a5cd8d1468b2a7065518825073581128 /src/wx
parentedff38985837911f94bc31e4d82099ce1a56f4c8 (diff)
Remove now-unnecessary Film parameters.
Diffstat (limited to 'src/wx')
-rw-r--r--src/wx/timing_panel.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/timing_panel.cc b/src/wx/timing_panel.cc
index 3b33808d3..ff50eeb9c 100644
--- a/src/wx/timing_panel.cc
+++ b/src/wx/timing_panel.cc
@@ -368,7 +368,7 @@ TimingPanel::trim_start_changed()
}
auto const trim = _trim_start->get(i->video_frame_rate().get_value_or(_parent->film()->video_frame_rate()));
- i->set_trim_start(_parent->film(), trim);
+ i->set_trim_start(trim);
}
if (ref) {
@@ -443,7 +443,7 @@ TimingPanel::trim_start_to_playhead_clicked()
for (auto i: _parent->selected()) {
if (i->position() < ph && ph < i->end(film)) {
auto const frc = film->active_frame_rate_change(i->position());
- i->set_trim_start(film, i->trim_start() + ContentTime(ph - i->position(), frc));
+ i->set_trim_start(i->trim_start() + ContentTime(ph - i->position(), frc));
new_ph = i->position();
}
}