summaryrefslogtreecommitdiffstats
path: root/qt-models/cylindermodel.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-02-23 12:52:45 +0100
committerGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-04-07 00:13:34 +0200
commita37939889b1a77dd269fd7f25f97b813f733133a (patch)
tree4409fcb76e05e915a81ab9632ca938f595115315 /qt-models/cylindermodel.h
parent30d289e4a8a0caadcf30f06872ce69f44cf0bc0d (diff)
downloadsubsurface-a37939889b1a77dd269fd7f25f97b813f733133a.tar.gz
cleanup: remove CylindersModels::rows
Access the number of cylinders in the dive directly instead. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models/cylindermodel.h')
-rw-r--r--qt-models/cylindermodel.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/qt-models/cylindermodel.h b/qt-models/cylindermodel.h
index 201459b72..40eaf98a1 100644
--- a/qt-models/cylindermodel.h
+++ b/qt-models/cylindermodel.h
@@ -57,7 +57,6 @@ slots:
private:
dive *d;
- int rows;
cylinder_t *cylinderAt(const QModelIndex &index);
};