X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ftimeline.h;h=4ba1cc425f022b6fe11d634052f7915a5c012ee8;hb=e385ef84b198d9ec51c3d2a117d8ef8cfb7292d1;hp=35153dd175d4c13aa4f510656c3810a2a1bd38fc;hpb=e6f28e7cda23c1ba3c49cc1bf2dc1491c2f87160;p=dcpomatic.git diff --git a/src/wx/timeline.h b/src/wx/timeline.h index 35153dd17..4ba1cc425 100644 --- a/src/wx/timeline.h +++ b/src/wx/timeline.h @@ -52,7 +52,7 @@ public: return 48; } - double pixels_per_second () const { + boost::optional pixels_per_second () const { return _pixels_per_second; } @@ -96,7 +96,7 @@ private: ViewList _views; boost::shared_ptr _time_axis_view; int _tracks; - double _pixels_per_second; + boost::optional _pixels_per_second; bool _left_down; wxPoint _down_point; boost::shared_ptr _down_view;