From a7372d9340e4368e73147986df44d961d43c18bc Mon Sep 17 00:00:00 2001 From: Stefan Fuchs Date: Sun, 18 Feb 2018 13:12:02 +0100 Subject: Remove space between pressure value and pressure unit in profile Bring one more value plus unit pair which is the pressure value printed in the profile in accordance with the coding style/UI style rule of not having a space between value and unit. Signed-off-by: Stefan Fuchs --- profile-widget/diveprofileitem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'profile-widget') diff --git a/profile-widget/diveprofileitem.cpp b/profile-widget/diveprofileitem.cpp index f23796886..6352d5171 100644 --- a/profile-widget/diveprofileitem.cpp +++ b/profile-widget/diveprofileitem.cpp @@ -804,7 +804,7 @@ void DiveGasPressureItem::plotPressureValue(int mbar, int sec, QFlagssetPos(hAxis->posAtValue(sec), vAxis->posAtValue(mbar) + pressure_offset ); - text->setText(QString("%1 %2").arg(pressure).arg(unit)); + text->setText(QString("%1%2").arg(pressure).arg(unit)); text->setAlignment(align); text->setBrush(getColor(PRESSURE_TEXT)); texts.push_back(text); -- cgit v1.2.3-70-g09d2