Move function to proper place

Instead of writing TODO comment blocks, just do the work, and move the
function to the proper class. Further, after review from Berthold, cleanup
the function. There is no reason that getGasList() is member of
any class. It is just a non-class helper, and as it is only used
here, a static helper.

Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
Jan Mulder 2018-01-09 20:51:40 +01:00
parent 339f214384
commit 8928e54dfc
3 changed files with 20 additions and 29 deletions

View file

@ -52,7 +52,6 @@ public:
divedatapoint at(int row);
int size();
struct diveplan &getDiveplan();
QStringList &getGasList();
int lastEnteredPoint();
void removeDeco();
static bool addingDeco;