diff options
Diffstat (limited to 'qt-models/divepicturemodel.cpp')
-rw-r--r-- | qt-models/divepicturemodel.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/qt-models/divepicturemodel.cpp b/qt-models/divepicturemodel.cpp index 48fa652c9..8c66f5974 100644 --- a/qt-models/divepicturemodel.cpp +++ b/qt-models/divepicturemodel.cpp @@ -85,9 +85,8 @@ void DivePictureModel::updateDivePictures() endResetModel(); } -int DivePictureModel::columnCount(const QModelIndex &parent) const +int DivePictureModel::columnCount(const QModelIndex&) const { - Q_UNUSED(parent); return 2; } @@ -167,9 +166,8 @@ void DivePictureModel::removePictures(const QVector<QString> &fileUrls) } } -int DivePictureModel::rowCount(const QModelIndex &parent) const +int DivePictureModel::rowCount(const QModelIndex&) const { - Q_UNUSED(parent); return pictures.count(); } |