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:
Tomaz Canabrava 2016-03-08 02:26:04 -03:00 committed by Dirk Hohndel
parent 302f3ac6ae
commit b23ff086cf

View file

@ -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;