diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-05-22 18:28:38 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-05-22 12:31:06 -0700 |
commit | e33e420ef3e5139015504ef49215721e99850f2b (patch) | |
tree | 87bab83e7e62e757c479ab39756c95c821042ba1 /core | |
parent | f63485b444bd8469d24c70f64f3097bed239c7a8 (diff) | |
download | subsurface-e33e420ef3e5139015504ef49215721e99850f2b.tar.gz |
cleanup: remove unused libc-structures from get_trip_date_string()
This must be an artifact from before using Qt's datetime functions.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core')
-rw-r--r-- | core/qthelper.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/core/qthelper.cpp b/core/qthelper.cpp index 561dd9213..3b87a33a7 100644 --- a/core/qthelper.cpp +++ b/core/qthelper.cpp @@ -989,8 +989,6 @@ extern "C" char *get_current_date() QString get_trip_date_string(timestamp_t when, int nr, bool getday) { - struct tm tm; - utc_mkdate(when, &tm); QDateTime localTime = timestampToDateTime(when); QString suffix = " " + gettextFromC::tr("(%n dive(s))", "", nr); |