summaryrefslogtreecommitdiffstats
path: root/qt-models
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@gmail.com>2016-03-08 02:26:04 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-08 20:58:21 -0800
commitb23ff086cf2d4e6b7c3626595b59b63a3960ff8b (patch)
tree97c5f83d5718cd98e7516f35092b455439051176 /qt-models
parent302f3ac6ae3491a5f422646a63ca5f68eab1900b (diff)
downloadsubsurface-b23ff086cf2d4e6b7c3626595b59b63a3960ff8b.tar.gz
Silence warnings in divelocationmodel.cpp
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-models')
-rw-r--r--qt-models/divelocationmodel.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-models/divelocationmodel.cpp b/qt-models/divelocationmodel.cpp
index d185de1fe..f77953760 100644
--- a/qt-models/divelocationmodel.cpp
+++ b/qt-models/divelocationmodel.cpp
@@ -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;