diff options
-rw-r--r-- | core/subsurface-qt/DiveObjectHelper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/subsurface-qt/DiveObjectHelper.cpp b/core/subsurface-qt/DiveObjectHelper.cpp index 5174b1a7e..d4b8e32cb 100644 --- a/core/subsurface-qt/DiveObjectHelper.cpp +++ b/core/subsurface-qt/DiveObjectHelper.cpp @@ -341,7 +341,7 @@ QString DiveObjectHelper::tripMeta() const QString ret = EMPTY_DIVE_STRING; struct dive_trip *dt = m_dive->divetrip; if (dt) { - QString numDives = tr("(%n dive(s))", "", dt->nrdives); + QString numDives = tr("(%n dive(s))", "", dt->showndives); QString title(dt->location); QDateTime firstTime = QDateTime::fromMSecsSinceEpoch(1000*dt->when, Qt::UTC); QString firstMonth = firstTime.toString("MMM"); |