summaryrefslogtreecommitdiffstats
path: root/qt-models/diveimportedmodel.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-09-22 22:07:13 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-10-02 08:04:49 -0700
commit4d5acc84612e3536b4665edb75aa5f074f2cad1c (patch)
tree3d09d8d21fee734c94bcc2ddf24f49a16e663663 /qt-models/diveimportedmodel.h
parenta33f381dc6e71abc231992e95bfcf7b4d0cd145a (diff)
downloadsubsurface-4d5acc84612e3536b4665edb75aa5f074f2cad1c.tar.gz
Import: remove DiveImportedModel::lastIndex
This is redundant, as the actual size is stored in the dive table. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models/diveimportedmodel.h')
-rw-r--r--qt-models/diveimportedmodel.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/qt-models/diveimportedmodel.h b/qt-models/diveimportedmodel.h
index 7b0f9d2ed..612bee8c7 100644
--- a/qt-models/diveimportedmodel.h
+++ b/qt-models/diveimportedmodel.h
@@ -44,7 +44,6 @@ signals:
void downloadFinished();
private:
- int lastIndex;
std::vector<char> checkStates; // char instead of bool to avoid silly pessimization of std::vector.
struct dive_table diveTable;
struct dive_site_table sitesTable;