Silence warnings in divepicturemodel.cpp

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2016-03-08 02:26:23 -03:00 committed by Dirk Hohndel
parent 7a03024517
commit dfec999faf

View file

@ -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;
}