diff options
author | Tomaz Canabrava <tomaz.canabrava@gmail.com> | 2016-03-08 02:26:23 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-03-08 20:58:22 -0800 |
commit | dfec999fafa3c96fa801d1bb114dc76dd8c074a3 (patch) | |
tree | 0b3350e7e50f7bbde341539df375daeb0ec0b887 /qt-models/divepicturemodel.cpp | |
parent | 7a03024517e7c3d19d096e9343d6c5e9639464c0 (diff) | |
download | subsurface-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/divepicturemodel.cpp')
-rw-r--r-- | qt-models/divepicturemodel.cpp | 2 |
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; } |