From bef756073a68ba0bcd94dd1e70d7b2a6c714c8f5 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Wed, 7 Nov 2018 23:30:14 +0100 Subject: Coding style: remove stray ';' There was a stray semi-colon on the beginning of a line in DiveObjectHelper.cpp. Remove it. Signed-off-by: Berthold Stoeger --- core/subsurface-qt/DiveObjectHelper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/subsurface-qt') diff --git a/core/subsurface-qt/DiveObjectHelper.cpp b/core/subsurface-qt/DiveObjectHelper.cpp index 78b1c0d3c..41d4cebd9 100644 --- a/core/subsurface-qt/DiveObjectHelper.cpp +++ b/core/subsurface-qt/DiveObjectHelper.cpp @@ -346,7 +346,7 @@ QString DiveObjectHelper::tripMeta() const QDateTime firstTime = QDateTime::fromMSecsSinceEpoch(1000*dt->when, Qt::UTC); QString firstMonth = firstTime.toString("MMM"); QString tripDate = QStringLiteral("%1@%2").arg(firstMonth,firstTime.toString("yy")); -; + if (title.isEmpty()) { // so use the date range QString firstYear = firstTime.toString("yyyy"); -- cgit v1.2.3-70-g09d2