From 39a11d70923940f45b5e1493dabfa934ec2a79c6 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Fri, 7 Feb 2014 21:38:06 -0200 Subject: Fix placement of notification area and dive computer name. Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-ui/profile/diveprofileitem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-ui/profile/diveprofileitem.cpp') 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)); -- cgit v1.2.3-70-g09d2