aboutsummaryrefslogtreecommitdiffstats
path: root/qt-models/diveplannermodel.h
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2018-01-09 20:51:40 +0100
committerGravatar Jan Mulder <jlmulder@xs4all.nl>2018-01-10 11:04:24 +0100
commit8928e54dfce324185fcd22d1d32f6343c3a3f865 (patch)
tree8c50941ef012a9ed15bbbd2d84bcf1d6c28e7c0d /qt-models/diveplannermodel.h
parent339f21438461310797d6e277248c9d8a2f98df7d (diff)
downloadsubsurface-8928e54dfce324185fcd22d1d32f6343c3a3f865.tar.gz
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>
Diffstat (limited to 'qt-models/diveplannermodel.h')
-rw-r--r--qt-models/diveplannermodel.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/qt-models/diveplannermodel.h b/qt-models/diveplannermodel.h
index 7a1cdca83..dfafe2b27 100644
--- a/qt-models/diveplannermodel.h
+++ b/qt-models/diveplannermodel.h
@@ -52,7 +52,6 @@ public:
divedatapoint at(int row);
int size();
struct diveplan &getDiveplan();
- QStringList &getGasList();
int lastEnteredPoint();
void removeDeco();
static bool addingDeco;