From 22e40063f173e381ecf9385be0d1facc69770f02 Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Mon, 12 Jun 2017 18:08:34 +0800 Subject: 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 --- qt-models/diveimportedmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3-70-g09d2