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>
This commit is contained in:
Tomaz Canabrava 2014-02-07 21:38:06 -02:00 committed by Dirk Hohndel
parent cacf5b3b24
commit 39a11d7092
2 changed files with 3 additions and 4 deletions

View file

@ -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));