From 5c5f9d4f408df440d2baae93fad129c66921cd26 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 22 Jun 2023 17:21:30 +0200 Subject: Controls::set_film() calls setup_sensitivity() so there's no need for PlaylistControls::set_film() also to do it. --- src/wx/playlist_controls.cc | 6 ------ src/wx/playlist_controls.h | 2 -- 2 files changed, 8 deletions(-) diff --git a/src/wx/playlist_controls.cc b/src/wx/playlist_controls.cc index c098aa970..8d67cd998 100644 --- a/src/wx/playlist_controls.cc +++ b/src/wx/playlist_controls.cc @@ -396,12 +396,6 @@ PlaylistControls::config_changed (int property) } } -void -PlaylistControls::set_film (shared_ptr film) -{ - Controls::set_film (film); - setup_sensitivity (); -} void PlaylistControls::update_current_content () diff --git a/src/wx/playlist_controls.h b/src/wx/playlist_controls.h index e1b834054..76ec63824 100644 --- a/src/wx/playlist_controls.h +++ b/src/wx/playlist_controls.h @@ -31,8 +31,6 @@ class PlaylistControls : public Controls public: PlaylistControls(wxWindow* parent, FilmViewer& viewer); - void set_film (std::shared_ptr film) override; - /** This is so that we can tell our parent player to reset the film when we have created one from a SPL. We could call a method in the player's DOMFrame but we don't have that in a header. -- cgit v1.2.3