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>
This commit is contained in:
Berthold Stoeger 2019-09-22 22:07:13 +02:00 committed by Dirk Hohndel
parent a33f381dc6
commit 4d5acc8461
2 changed files with 8 additions and 17 deletions

View file

@ -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;