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:
parent
7a03024517
commit
dfec999faf
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user