mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +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
|
int DivePictureModel::columnCount(const QModelIndex &parent) const
|
||||||
{
|
{
|
||||||
|
Q_UNUSED(parent);
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -126,5 +127,6 @@ void DivePictureModel::removePicture(const QString &fileUrl, bool last)
|
||||||
|
|
||||||
int DivePictureModel::rowCount(const QModelIndex &parent) const
|
int DivePictureModel::rowCount(const QModelIndex &parent) const
|
||||||
{
|
{
|
||||||
|
Q_UNUSED(parent);
|
||||||
return numberOfPictures;
|
return numberOfPictures;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue