diff options
-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(); |