From b23ff086cf2d4e6b7c3626595b59b63a3960ff8b Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Tue, 8 Mar 2016 02:26:04 -0300 Subject: Silence warnings in divelocationmodel.cpp Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-models/divelocationmodel.cpp | 3 +++ 1 file changed, 3 insertions(+) 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; -- cgit v1.2.3-70-g09d2