X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Ftracegroup.cpp;h=6df8f6506b9ea3a552d40e4dc5dcdd86f6d71ba2;hp=3fbb864e8bca07111d359718274d6b5bd1e23d5e;hb=c3b911b571c430cecf563a1d2234698e6aff6c34;hpb=cc69e8ae5abc3bfbe50caee55a3ca1be7e0a479a diff --git a/pv/views/trace/tracegroup.cpp b/pv/views/trace/tracegroup.cpp index 3fbb864..6df8f65 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[] = {