aboutsummaryrefslogtreecommitdiffstats
path: root/profile-widget
diff options
context:
space:
mode:
authorGravatar Stefan Fuchs <sfuchs@gmx.de>2018-02-18 13:12:02 +0100
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2018-02-22 21:48:05 +0200
commita7372d9340e4368e73147986df44d961d43c18bc (patch)
tree36edf0cc2f283dac8032f156b15349707e5c5506 /profile-widget
parentf9aa67a399b665ac665094e2d115f05bd55e9245 (diff)
downloadsubsurface-a7372d9340e4368e73147986df44d961d43c18bc.tar.gz
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 <sfuchs@gmx.de>
Diffstat (limited to 'profile-widget')
-rw-r--r--profile-widget/diveprofileitem.cpp2
1 files changed, 1 insertions, 1 deletions
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, QFlags<Qt::Alignm
int pressure = get_pressure_units(mbar, &unit);
DiveTextItem *text = new DiveTextItem(this);
text->setPos(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);