summaryrefslogtreecommitdiffstats
path: root/qt-models
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@gmail.com>2016-03-08 02:26:23 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-08 20:58:22 -0800
commitdfec999fafa3c96fa801d1bb114dc76dd8c074a3 (patch)
tree0b3350e7e50f7bbde341539df375daeb0ec0b887 /qt-models
parent7a03024517e7c3d19d096e9343d6c5e9639464c0 (diff)
downloadsubsurface-dfec999fafa3c96fa801d1bb114dc76dd8c074a3.tar.gz
Silence warnings in divepicturemodel.cpp
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-models')
-rw-r--r--qt-models/divepicturemodel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-models/divepicturemodel.cpp b/qt-models/divepicturemodel.cpp
index 602663ec1..173cf9dd0 100644
--- a/qt-models/divepicturemodel.cpp
+++ b/qt-models/divepicturemodel.cpp
@@ -78,6 +78,7 @@ void DivePictureModel::updateDivePictures()
int DivePictureModel::columnCount(const QModelIndex &parent) const
{
+ Q_UNUSED(parent);
return 2;
}
@@ -126,5 +127,6 @@ void DivePictureModel::removePicture(const QString &fileUrl, bool last)
int DivePictureModel::rowCount(const QModelIndex &parent) const
{
+ Q_UNUSED(parent);
return numberOfPictures;
}