summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/downloadfromdivecomputer.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-09 20:15:28 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-09 21:50:26 -0800
commit8d19a6ae16679475313dadca88e2d80ccbab11e3 (patch)
treebb13726972866196fed17e54b7dc568fcb9b3957 /desktop-widgets/downloadfromdivecomputer.cpp
parent234a6594983fc091f356cf1d23950f69a08d5a1b (diff)
downloadsubsurface-8d19a6ae16679475313dadca88e2d80ccbab11e3.tar.gz
Silence warnings in downloadfromdivecomputer.cpp
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/downloadfromdivecomputer.cpp')
-rw-r--r--desktop-widgets/downloadfromdivecomputer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/desktop-widgets/downloadfromdivecomputer.cpp b/desktop-widgets/downloadfromdivecomputer.cpp
index 4c8fa6b4a..be6018b36 100644
--- a/desktop-widgets/downloadfromdivecomputer.cpp
+++ b/desktop-widgets/downloadfromdivecomputer.cpp
@@ -626,11 +626,13 @@ DiveImportedModel::DiveImportedModel(QObject *o) : QAbstractTableModel(o),
int DiveImportedModel::columnCount(const QModelIndex &model) const
{
+ Q_UNUSED(model)
return 3;
}
int DiveImportedModel::rowCount(const QModelIndex &model) const
{
+ Q_UNUSED(model)
return lastIndex - firstIndex + 1;
}