X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fheader.cpp;h=0e9445ea239e7a9879e1b88f24e1610b6a09b591;hp=28f8130d16d562a586e8d18765518d98cc840f4c;hb=c063290ac7189bdd15221450f598504f43286b43;hpb=db1aabc15dc8680673b943c2dd0f38a83c32a1d9 diff --git a/pv/view/header.cpp b/pv/view/header.cpp index 28f8130d..0e9445ea 100644 --- a/pv/view/header.cpp +++ b/pv/view/header.cpp @@ -103,8 +103,7 @@ void Header::paintEvent(QPaintEvent*) // would be clipped away. const QRect rect(0, 0, width() - BaselineOffset, height()); - vector< shared_ptr > items( - view_.list_by_type()); + vector< shared_ptr > items(view_.list_by_type()); stable_sort(items.begin(), items.end(), [](const shared_ptr &a, const shared_ptr &b) {