mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Silence warnings in diveplotdatamodel.cpp
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
6c6e1ce6ff
commit
554b3fe630
1 changed files with 2 additions and 0 deletions
|
@ -14,6 +14,7 @@ DivePlotDataModel::DivePlotDataModel(QObject *parent) :
|
|||
|
||||
int DivePlotDataModel::columnCount(const QModelIndex &parent) const
|
||||
{
|
||||
Q_UNUSED(parent);
|
||||
return COLUMNS;
|
||||
}
|
||||
|
||||
|
@ -96,6 +97,7 @@ const plot_info &DivePlotDataModel::data() const
|
|||
|
||||
int DivePlotDataModel::rowCount(const QModelIndex &parent) const
|
||||
{
|
||||
Q_UNUSED(parent);
|
||||
return pInfo.nr;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue