mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 20:03:24 +00:00
profile: remove text related code in DivePercentageItem
This never sets any text. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
8343691a38
commit
5540471ce4
1 changed files with 0 additions and 3 deletions
|
@ -258,9 +258,6 @@ void DivePercentageItem::replot(const dive *d, bool)
|
|||
colors.push_back(ColorScale(value, inert));
|
||||
}
|
||||
setPolygon(poly);
|
||||
|
||||
if (texts.count())
|
||||
texts.last()->setAlignment(Qt::AlignLeft | Qt::AlignBottom);
|
||||
}
|
||||
|
||||
QColor DivePercentageItem::ColorScale(double value, int inert)
|
||||
|
|
Loading…
Add table
Reference in a new issue