X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fview%2Fview.cpp;h=d47b4fd15315d61fe33d46ab9d11087954702114;hb=87a97d8aa169936ec2dcd229df88b8c5b4a1411c;hp=2bf3d20a4301413a8503aceb9b9d441698334474;hpb=1887da2169397774c9563e9bf44c51ed7efc3646;p=pulseview.git diff --git a/pv/view/view.cpp b/pv/view/view.cpp index 2bf3d20..d47b4fd 100644 --- a/pv/view/view.cpp +++ b/pv/view/view.cpp @@ -567,11 +567,6 @@ void View::enable_sticky_scrolling(bool state) sticky_scrolling_ = state; } -void View::toggle_sticky_scrolling() -{ - sticky_scrolling_ = !sticky_scrolling_; -} - void View::enable_coloured_bg(bool state) { const vector> items( @@ -676,7 +671,7 @@ void View::restack_all_trace_tree_items() o->restack_items(); // Re-assign background colors - bool next_bgcolour_state = 0; + bool next_bgcolour_state = false; for (auto &o : sorted_owners) next_bgcolour_state = o->reassign_bgcolour_states(next_bgcolour_state);