X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Fview.cpp;h=fa911f0b5ad92ae8a27c0f96b3d69de2de984aab;hp=f1d7aa3dfca872a29bc81f5c0c2c444e4a34e03e;hb=b571a8e7e0dc3e3b6daa58f27050e76466f006dd;hpb=f4ab4b5c657e5613caba82feaa81a8a400e4f331 diff --git a/pv/views/trace/view.cpp b/pv/views/trace/view.cpp index f1d7aa3d..fa911f0b 100644 --- a/pv/views/trace/view.cpp +++ b/pv/views/trace/view.cpp @@ -1215,7 +1215,8 @@ void View::set_scroll_default() void View::determine_if_header_was_shrunk() { - const int header_pane_width = splitter_->sizes().front(); + const int header_pane_width = + splitter_->sizes().front(); // clazy:exclude=detaching-temporary // Allow for a slight margin of error so that we also accept // slight differences when e.g. a label name change increased @@ -1234,7 +1235,7 @@ void View::resize_header_to_fit() // splitter to the maximum allowed position. int splitter_area_width = 0; - for (int w : splitter_->sizes()) + for (int w : splitter_->sizes()) // clazy:exclude=range-loop splitter_area_width += w; // Make sure the header has enough horizontal space to show all labels fully