diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2017-06-12 18:08:34 +0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-06-12 07:09:11 -0700 |
commit | 22e40063f173e381ecf9385be0d1facc69770f02 (patch) | |
tree | f1754e15b8d02e4628959f76140fe5f5fce97ab3 /qt-models/diveimportedmodel.cpp | |
parent | e7a7bd4de2495d9df668d93016628d722ba4e3b3 (diff) | |
download | subsurface-22e40063f173e381ecf9385be0d1facc69770f02.tar.gz |
Download dialog showed time incorrectly
The used time format was h:mh: i.e. 1:16h:
This patch gets rid of the colon after the hour indicator.
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Diffstat (limited to 'qt-models/diveimportedmodel.cpp')
-rw-r--r-- | qt-models/diveimportedmodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-models/diveimportedmodel.cpp b/qt-models/diveimportedmodel.cpp index cd54da92b..b57660362 100644 --- a/qt-models/diveimportedmodel.cpp +++ b/qt-models/diveimportedmodel.cpp @@ -77,7 +77,7 @@ QVariant DiveImportedModel::data(const QModelIndex &index, int role) const case 0: return QVariant(get_short_dive_date_string(d->when)); case 1: - return QVariant(get_dive_duration_string(d->duration.seconds, tr("h:"), tr("min"))); + return QVariant(get_dive_duration_string(d->duration.seconds, tr("h"), tr("min"))); case 2: return QVariant(get_depth_string(d->maxdepth.mm, true, false)); case 3: |