diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-01-10 07:09:17 +0800 |
---|---|---|
committer | bstoeger <32835590+bstoeger@users.noreply.github.com> | 2020-03-06 10:00:13 +0100 |
commit | 2a97934db4c9e0bedf87649575cba527b874386f (patch) | |
tree | 5fe2ac4319a95c07ebf04df7f8c9eb5082811f01 /core/qthelper.h | |
parent | c495a49b1b044ab54ee60d4b0db14caa3f8e3de1 (diff) | |
download | subsurface-2a97934db4c9e0bedf87649575cba527b874386f.tar.gz |
Cleanup: Move stringToList to core/qthelper.cpp
The same code was used in desktop and undo commands. Let's unify.
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, 1 insertions, 0 deletions
diff --git a/core/qthelper.h b/core/qthelper.h index 6dc6c4d6f..4c3a6aa19 100644 --- a/core/qthelper.h +++ b/core/qthelper.h @@ -29,6 +29,7 @@ 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(); void write_hashes(); QString thumbnailFileName(const QString &filename); |