diff options
Diffstat (limited to 'qt-models/divelocationmodel.cpp')
-rw-r--r-- | qt-models/divelocationmodel.cpp | 3 |
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; |