X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fplayer_information.h;h=2ce49371431e3f6e8162aedd66105918e22a40d2;hb=693013b77341e4177c792de091ab9a524e33c477;hp=b311847cb17be9a6c638eff14e71be36ad081848;hpb=600e0c67c61b29427602918daebb38a4822f95cb;p=dcpomatic.git diff --git a/src/wx/player_information.h b/src/wx/player_information.h index b311847cb..2ce493714 100644 --- a/src/wx/player_information.h +++ b/src/wx/player_information.h @@ -32,7 +32,7 @@ class FilmViewer; class PlayerInformation : public wxPanel { public: - PlayerInformation (wxWindow* parent, std::weak_ptr viewer); + PlayerInformation(wxWindow* parent, FilmViewer const& viewer); void triggered_update (); @@ -40,7 +40,7 @@ private: void periodic_update (); - std::weak_ptr _viewer; + FilmViewer const& _viewer; wxPanel* _kdm_panel; wxSizer* _sizer; wxStaticText** _dcp;