diff options
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; } |