aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/diveprofileitem.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2014-02-07 21:38:06 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-08 07:22:42 -0800
commit39a11d70923940f45b5e1493dabfa934ec2a79c6 (patch)
tree0bf4b84e8f512e043c5c28eb820c88303cf87963 /qt-ui/profile/diveprofileitem.cpp
parentcacf5b3b2479220f4aa56879928ffe23a4277a7f (diff)
downloadsubsurface-39a11d70923940f45b5e1493dabfa934ec2a79c6.tar.gz
Fix placement of notification area and dive computer name.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/diveprofileitem.cpp')
-rw-r--r--qt-ui/profile/diveprofileitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/profile/diveprofileitem.cpp b/qt-ui/profile/diveprofileitem.cpp
index 9aa204808..f60437ee3 100644
--- a/qt-ui/profile/diveprofileitem.cpp
+++ b/qt-ui/profile/diveprofileitem.cpp
@@ -262,7 +262,7 @@ void DiveTemperatureItem::createTextItem(int sec, int mkelvin)
deg = get_temp_units(mkelvin, &unit);
DiveTextItem *text = new DiveTextItem(this);
- text->setAlignment(Qt::AlignHCenter | Qt::AlignBottom);
+ text->setAlignment(Qt::AlignRight | Qt::AlignBottom);
text->setBrush(getColor(TEMP_TEXT));
text->setPos(QPointF(hAxis->posAtValue(sec), vAxis->posAtValue(mkelvin)));
text->setText(QString("%1%2").arg(deg, 0, 'f', 1).arg(unit));