X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Ftracegroup.cpp;h=6df8f6506b9ea3a552d40e4dc5dcdd86f6d71ba2;hp=3fbb864e8bca07111d359718274d6b5bd1e23d5e;hb=1ae18301848d741a7a17888af9e1b10171a6ccc4;hpb=641574bcc118be0b6dc3a65039ab3497f9d7241a diff --git a/pv/views/trace/tracegroup.cpp b/pv/views/trace/tracegroup.cpp index 3fbb864e..6df8f650 100644 --- a/pv/views/trace/tracegroup.cpp +++ b/pv/views/trace/tracegroup.cpp @@ -85,8 +85,8 @@ pair TraceGroup::v_extents() const void TraceGroup::paint_label(QPainter &p, const QRect &rect, bool hover) { const QRectF r = label_rect(rect).adjusted( - LineThickness / 2, LineThickness / 2, - -LineThickness / 2, -LineThickness / 2); + LineThickness / 2.0, LineThickness / 2.0, + -LineThickness / 2.0, -LineThickness / 2.0); // Paint the label const QPointF points[] = {