aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-29 08:31:37 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-29 08:31:37 -0700
commit816a78f5baecffa8979d1f70d8141612167769ec (patch)
treed77ff5714b9810547aa8baad8b75924d129b1aa0 /qt-ui
parentb1e50fb157c6c86af28d4beb4e365ec15a08e748 (diff)
downloadsubsurface-816a78f5baecffa8979d1f70d8141612167769ec.tar.gz
Profile: show dive computer nickname instead of model
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/profile/profilewidget2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp
index 299cc2972..7fd182f12 100644
--- a/qt-ui/profile/profilewidget2.cpp
+++ b/qt-ui/profile/profilewidget2.cpp
@@ -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);