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>
This commit is contained in:
Berthold Stoeger 2020-05-22 18:28:38 +02:00 committed by Dirk Hohndel
parent f63485b444
commit e33e420ef3

View file

@ -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);