diff options
Diffstat (limited to 'qt-models')
-rw-r--r-- | qt-models/divetripmodel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-models/divetripmodel.cpp b/qt-models/divetripmodel.cpp index fcba4a570..819bb5463 100644 --- a/qt-models/divetripmodel.cpp +++ b/qt-models/divetripmodel.cpp @@ -62,9 +62,9 @@ QVariant TripItem::data(int column, int role) const d = d->next; } if (countShown < trip->nrdives) - shownText = tr(" (%1 shown)").arg(countShown); + shownText = tr("(%1 shown)").arg(countShown); if (trip->location && *trip->location) - ret = QString(trip->location) + ", " + get_trip_date_string(trip->when, trip->nrdives) + shownText; + ret = QString(trip->location) + ", " + get_trip_date_string(trip->when, trip->nrdives) + " " + shownText; else ret = get_trip_date_string(trip->when, trip->nrdives) + shownText; break; |