From: Joel Holdsworth Date: Tue, 30 Dec 2014 11:43:00 +0000 (+0000) Subject: util: Added a space between the value and prefix X-Git-Tag: pulseview-0.3.0~288 X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=commitdiff_plain;h=e113edc6663092c278f6b79dd62faedc71f53e5b;ds=inline util: Added a space between the value and prefix --- diff --git a/pv/util.cpp b/pv/util.cpp index ff1b4848..2e54adea 100644 --- a/pv/util.cpp +++ b/pv/util.cpp @@ -61,8 +61,8 @@ QString format_si_value(double v, QString unit, int prefix, QTextStream ts(&s); if (sign) ts << forcesign; - ts << fixed << qSetRealNumberPrecision(precision) - << (v * multiplier) << SIPrefixes[prefix] << unit; + ts << fixed << qSetRealNumberPrecision(precision) << + (v * multiplier) << " " << SIPrefixes[prefix] << unit; return s; }