Controls::set_film() calls setup_sensitivity() so there's no need for PlaylistControl...
authorCarl Hetherington <cth@carlh.net>
Thu, 22 Jun 2023 15:21:30 +0000 (17:21 +0200)
committerCarl Hetherington <cth@carlh.net>
Thu, 22 Jun 2023 15:21:30 +0000 (17:21 +0200)
src/wx/playlist_controls.cc
src/wx/playlist_controls.h

index c098aa970dfd2413940e38bcde7651c35b75a6a5..8d67cd99899a3aaca9539df928bf00e62817d489 100644 (file)
@@ -396,12 +396,6 @@ PlaylistControls::config_changed (int property)
        }
 }
 
-void
-PlaylistControls::set_film (shared_ptr<Film> film)
-{
-       Controls::set_film (film);
-       setup_sensitivity ();
-}
 
 void
 PlaylistControls::update_current_content ()
index e1b834054b2918e3e8f0511995cd99f2d2f60192..76ec6382497fa3367d08df7e1cde720830fe5092 100644 (file)
@@ -31,8 +31,6 @@ class PlaylistControls : public Controls
 public:
        PlaylistControls(wxWindow* parent, FilmViewer& viewer);
 
-       void set_film (std::shared_ptr<Film> 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.