diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-04-27 15:52:49 +0200 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2020-04-27 22:48:15 +0300 |
commit | 5ba7c68433f2ca62c840b038603ee404dbc1ccc9 (patch) | |
tree | aaa7996debcc8bb340821f5498c0d3755b3e87e4 /core | |
parent | 006d630142c83e22c1aaee52864e3be4e62818ac (diff) | |
download | subsurface-5ba7c68433f2ca62c840b038603ee404dbc1ccc9.tar.gz |
cleanup: remove unused function get_divepoint_gas_string()
The last user was removed way back in commit
9fbd11744f1bfffbc6973e0f9483ae1630dd8722.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core')
-rw-r--r-- | core/qthelper.cpp | 6 | ||||
-rw-r--r-- | core/qthelper.h | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/core/qthelper.cpp b/core/qthelper.cpp index a6fb800be..4fa92c4e9 100644 --- a/core/qthelper.cpp +++ b/core/qthelper.cpp @@ -1192,12 +1192,6 @@ QString get_gas_string(struct gasmix gas) return result; } -QString get_divepoint_gas_string(struct dive *d, const divedatapoint &p) -{ - int idx = p.cylinderid; - return get_gas_string(get_cylinder(d, idx)->gasmix); -} - QString get_taglist_string(struct tag_entry *tag_list) { char *buffer = taglist_get_tagstring(tag_list); diff --git a/core/qthelper.h b/core/qthelper.h index 093cdaad3..cdc77e742 100644 --- a/core/qthelper.h +++ b/core/qthelper.h @@ -26,7 +26,6 @@ QString distance_string(int distanceInMeters); bool gpsHasChanged(struct dive *dive, struct dive *master, const QString &gps_text, bool *parsed_out = 0); QList<int> getDivesInTrip(struct dive_trip *trip); QString get_gas_string(struct gasmix gas); -QString get_divepoint_gas_string(struct dive *d, const struct divedatapoint &dp); QString get_taglist_string(struct tag_entry *tag_list); QStringList stringToList(const QString &s); void read_hashes(); |