diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-11-07 23:30:14 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-11-12 20:55:41 -0800 |
commit | bef756073a68ba0bcd94dd1e70d7b2a6c714c8f5 (patch) | |
tree | 51352c2e93f0a1eef5cc005d32cbf334519c892d /core/subsurface-qt | |
parent | 282e6a9f48e06f39e58073f188e6e8020af9145b (diff) | |
download | subsurface-bef756073a68ba0bcd94dd1e70d7b2a6c714c8f5.tar.gz |
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 <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/subsurface-qt')
-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 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"); |