mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Profile: show dive computer nickname instead of model
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
b1e50fb157
commit
816a78f5ba
1 changed files with 1 additions and 1 deletions
|
@ -508,7 +508,7 @@ void ProfileWidget2::plotDives(QList<dive *> dives)
|
|||
event->setVisible(!event->shouldBeHidden());
|
||||
// qDebug() << event->getEvent()->name << "@" << event->getEvent()->time.seconds << "is hidden:" << event->isHidden();
|
||||
}
|
||||
QString dcText = currentdc->model;
|
||||
QString dcText = get_dc_nickname(currentdc->model, currentdc->deviceid);
|
||||
int nr;
|
||||
if ((nr = number_of_computers(current_dive)) > 1)
|
||||
dcText += tr(" (#%1 of %2)").arg(dc_number + 1).arg(nr);
|
||||
|
|
Loading…
Add table
Reference in a new issue