From 6d29ca45eb2e507521b7e07107516828a3b2d86b Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 3 Dec 2021 17:16:53 +0100 Subject: Remove some unused code. --- src/wx/timing_panel.cc | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/src/wx/timing_panel.cc b/src/wx/timing_panel.cc index 31b160542..44bbd3ee0 100644 --- a/src/wx/timing_panel.cc +++ b/src/wx/timing_panel.cc @@ -285,28 +285,6 @@ TimingPanel::film_content_changed (int property) update_play_length (); } - if (property == ContentProperty::VIDEO_FRAME_RATE) { - set check_vc; - shared_ptr content; - int count_ac = 0; - int count_sc = 0; - for (auto i: _parent->selected()) { - if (i->video && i->video_frame_rate()) { - check_vc.insert (i->video_frame_rate().get()); - content = i; - } - if (i->audio && i->video_frame_rate()) { - ++count_ac; - content = i; - } - if (!i->text.empty() && i->video_frame_rate()) { - ++count_sc; - content = i; - } - - } - } - bool have_still = false; for (auto i: _parent->selected()) { shared_ptr ic = dynamic_pointer_cast (i); -- cgit v1.2.3