X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Fruler.hpp;fp=pv%2Fviews%2Ftrace%2Fruler.hpp;h=40aa31bfefb4a9f42887b41d3035464a21994b33;hb=79b53a1ae4a451ef60c18dff9957d311ab90c396;hp=8c1876cced37f5e2598f655a51e309eff0c4fbd7;hpb=3263ed2dcaead74cd66f132e1120d832b2a63faf;p=pulseview.git diff --git a/pv/views/trace/ruler.hpp b/pv/views/trace/ruler.hpp index 8c1876cc..40aa31bf 100644 --- a/pv/views/trace/ruler.hpp +++ b/pv/views/trace/ruler.hpp @@ -117,7 +117,7 @@ public: unsigned precision = 0, bool sign = true); - pv::util::Timestamp get_time_from_x_pos(uint32_t x); + pv::util::Timestamp get_time_from_x_pos(uint32_t x) const; protected: virtual void contextMenuEvent(QContextMenuEvent *event) override;