X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Fdecodetrace.cpp;h=bf31a72ac05adaee19ee78e6d54b1c9f3bc09191;hp=88fa97fbc0b6f36cee3083892be919ba24260e09;hb=30677c1392b54604b01558cf29b44572731659fc;hpb=72435789a077273d96260f0225f79171e679359e diff --git a/pv/views/trace/decodetrace.cpp b/pv/views/trace/decodetrace.cpp index 88fa97fb..bf31a72a 100644 --- a/pv/views/trace/decodetrace.cpp +++ b/pv/views/trace/decodetrace.cpp @@ -220,7 +220,7 @@ void DecodeTrace::paint_mid(QPainter &p, ViewItemPaintParams &pp) int row_title_width; try { row_title_width = row_title_widths_.at(row); - } catch (out_of_range) { + } catch (out_of_range&) { const int w = p.boundingRect(QRectF(), 0, row.title()).width() + RowTitleMargin; row_title_widths_[row] = w;