X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ftimeline.h;h=4ba1cc425f022b6fe11d634052f7915a5c012ee8;hb=ab011bbc0d68ff676a672c7c4c1bef81e84a5007;hp=35153dd175d4c13aa4f510656c3810a2a1bd38fc;hpb=034feb503b0a38eb82c21ae8d9f83522fc63a25c;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;