diff options
Diffstat (limited to 'qt-models/diveimportedmodel.cpp')
-rw-r--r-- | qt-models/diveimportedmodel.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qt-models/diveimportedmodel.cpp b/qt-models/diveimportedmodel.cpp index 6342972a7..1c9b0cfcd 100644 --- a/qt-models/diveimportedmodel.cpp +++ b/qt-models/diveimportedmodel.cpp @@ -175,6 +175,11 @@ std::pair<struct dive_table, struct dive_site_table> DiveImportedModel::consumeT return std::make_pair(dives, sites); } +int DiveImportedModel::numDives() const +{ + return diveTable->nr; +} + // Delete non-selected dives void DiveImportedModel::deleteDeselected() { |