summaryrefslogtreecommitdiff
path: root/src/wx/film_viewer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/film_viewer.h')
-rw-r--r--src/wx/film_viewer.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/wx/film_viewer.h b/src/wx/film_viewer.h
index c6fbd66e4..0699b12ae 100644
--- a/src/wx/film_viewer.h
+++ b/src/wx/film_viewer.h
@@ -107,18 +107,14 @@ public:
}
#endif
- StateTimer const & state_timer () const {
- return _state_timer;
- }
-
- StateTimer& state_timer () {
- return _state_timer;
- }
-
int gets () const {
return _gets;
}
+ StateTimer const & state_timer () const {
+ return _video_view->state_timer ();
+ }
+
/* Some accessors and utility methods that VideoView classes need */
dcp::Size out_size () const {
return _out_size;
@@ -207,7 +203,6 @@ private:
bool _background_image;
#endif
- StateTimer _state_timer;
int _gets;
/** true if an get() is required next time we are idle */