summaryrefslogtreecommitdiffstats
path: root/core/qthelper.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-04-27 15:52:49 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2020-04-27 22:48:15 +0300
commit5ba7c68433f2ca62c840b038603ee404dbc1ccc9 (patch)
treeaaa7996debcc8bb340821f5498c0d3755b3e87e4 /core/qthelper.cpp
parent006d630142c83e22c1aaee52864e3be4e62818ac (diff)
downloadsubsurface-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/qthelper.cpp')
-rw-r--r--core/qthelper.cpp6
1 files changed, 0 insertions, 6 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);