X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fruler.cpp;h=31ec121d074aa724bd4a67b83c2c4272d233099c;hp=601e73b163a6ed84683ca8b3bcf9526ab3a8e048;hb=2ad82c2e40b6865481733913a2c32735602f63c4;hpb=3d79f521396c8e908fd237f5328153165099f5c3 diff --git a/pv/view/ruler.cpp b/pv/view/ruler.cpp index 601e73b..31ec121 100644 --- a/pv/view/ruler.cpp +++ b/pv/view/ruler.cpp @@ -128,8 +128,7 @@ shared_ptr Ruler::get_mouse_over_item(const QPoint &pt) void Ruler::paintEvent(QPaintEvent*) { if (!tick_position_cache_) { - auto ffunc = [this](const pv::util::Timestamp& t) - { + auto ffunc = [this](const pv::util::Timestamp& t) { return format_time_with_distance( this->view_.tick_period(), t,