summaryrefslogtreecommitdiffstats
path: root/qt-models/diveimportedmodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-models/diveimportedmodel.cpp')
-rw-r--r--qt-models/diveimportedmodel.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/qt-models/diveimportedmodel.cpp b/qt-models/diveimportedmodel.cpp
index ea70ece39..8a0f4f7c7 100644
--- a/qt-models/diveimportedmodel.cpp
+++ b/qt-models/diveimportedmodel.cpp
@@ -11,15 +11,13 @@ DiveImportedModel::DiveImportedModel(QObject *o) : QAbstractTableModel(o),
diveTable = &downloadTable;
}
-int DiveImportedModel::columnCount(const QModelIndex &model) const
+int DiveImportedModel::columnCount(const QModelIndex&) const
{
- Q_UNUSED(model)
return 3;
}
-int DiveImportedModel::rowCount(const QModelIndex &model) const
+int DiveImportedModel::rowCount(const QModelIndex&) const
{
- Q_UNUSED(model)
return lastIndex - firstIndex + 1;
}