Move stress testing code into a separate class and always build it.
[dcpomatic.git] / src / wx / playlist_controls.cc
index edc4485e66cba8095a5e677941a634132d6508f9..72ec7ad1fd35ef963862a604df911d10f7b88fff 100644 (file)
@@ -52,7 +52,6 @@ PlaylistControls::PlaylistControls (wxWindow* parent, shared_ptr<FilmViewer> vie
        , _stop_button (new Button(this, _("Stop")))
        , _next_button (new Button(this, "Next"))
        , _previous_button (new Button(this, "Previous"))
-       , _timer (this)
 {
        _button_sizer->Add (_previous_button, 0, wxEXPAND);
        _button_sizer->Add (_play_button, 0, wxEXPAND);
@@ -455,7 +454,6 @@ PlaylistControls::viewer_finished ()
        }
 }
 
-#ifdef DCPOMATIC_PLAYER_STRESS_TEST
 void
 PlaylistControls::play ()
 {
@@ -467,4 +465,3 @@ PlaylistControls::stop ()
 {
        stop_clicked ();
 }
-#endif