diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-11-22 23:11:23 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-11-23 13:22:24 -0800 |
commit | 70897dd1b7d33f3d1f6b47acc587a7f33a176a04 (patch) | |
tree | d2304bd23c797d558b709dfa20d9a5afef2cd286 /core/qthelper.h | |
parent | 68414531adeb68f7ad01c98bbac4d4d950409f02 (diff) | |
download | subsurface-70897dd1b7d33f3d1f6b47acc587a7f33a176a04.tar.gz |
Core: move is-single-day-trip and count-shown functions into core
These functionality was used by the desktop filter. To unify desktop
and mobile, move it into two new functions in divelist.c
Since one of them is the only caller of is_same_day() move that
likewise into divelist.c and make it of static linkage.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/qthelper.h')
-rw-r--r-- | core/qthelper.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/qthelper.h b/core/qthelper.h index deb893634..3e90a1979 100644 --- a/core/qthelper.h +++ b/core/qthelper.h @@ -77,7 +77,6 @@ QString get_dive_duration_string(timestamp_t when, QString hoursText, QString mi QString get_dive_surfint_string(timestamp_t when, QString daysText, QString hoursText, QString minutesText, QString separator = " ", int maxdays = 4); QString get_dive_date_string(timestamp_t when); QString get_short_dive_date_string(timestamp_t when); -bool is_same_day (timestamp_t trip_when, timestamp_t dive_when); QString get_trip_date_string(timestamp_t when, int nr, bool getday); QString uiLanguage(QLocale *callerLoc); QLocale getLocale(); |