mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 23:03:23 +00:00
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
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue