From dfec999fafa3c96fa801d1bb114dc76dd8c074a3 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Tue, 8 Mar 2016 02:26:23 -0300 Subject: Silence warnings in divepicturemodel.cpp Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-models/divepicturemodel.cpp | 2 ++ 1 file changed, 2 insertions(+) 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; } -- cgit v1.2.3-70-g09d2