mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
cacf5b3b24
commit
39a11d7092
2 changed files with 3 additions and 4 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue