mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Silence warnings in divelocationmodel.cpp
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
302f3ac6ae
commit
b23ff086cf
1 changed files with 3 additions and 0 deletions
|
@ -24,6 +24,7 @@ LocationInformationModel::LocationInformationModel(QObject *obj) : QAbstractTabl
|
|||
|
||||
int LocationInformationModel::columnCount(const QModelIndex &parent) const
|
||||
{
|
||||
Q_UNUSED(parent);
|
||||
return COLUMNS;
|
||||
}
|
||||
|
||||
|
@ -159,6 +160,8 @@ bool LocationInformationModel::setData(const QModelIndex &index, const QVariant
|
|||
|
||||
bool LocationInformationModel::removeRows(int row, int count, const QModelIndex & parent)
|
||||
{
|
||||
Q_UNUSED(count);
|
||||
Q_UNUSED(parent);
|
||||
if(row >= rowCount())
|
||||
return false;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue