diff options
author | Tomaz Canabrava <tomaz.canabrava@gmail.com> | 2016-03-08 02:26:44 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-03-08 20:58:21 -0800 |
commit | 6c6e1ce6ff133c541d695d613134ff1404155a84 (patch) | |
tree | ebc07fb989d7d3cafb90b247e1accc1decd204f6 /qt-models/diveplannermodel.cpp | |
parent | b23ff086cf2d4e6b7c3626595b59b63a3960ff8b (diff) | |
download | subsurface-6c6e1ce6ff133c541d695d613134ff1404155a84.tar.gz |
Silence warnings in Diveplannermodel
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-models/diveplannermodel.cpp')
-rw-r--r-- | qt-models/diveplannermodel.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-models/diveplannermodel.cpp b/qt-models/diveplannermodel.cpp index eeae69a87..7fbf2e323 100644 --- a/qt-models/diveplannermodel.cpp +++ b/qt-models/diveplannermodel.cpp @@ -334,6 +334,7 @@ Qt::ItemFlags DivePlannerPointsModel::flags(const QModelIndex &index) const int DivePlannerPointsModel::rowCount(const QModelIndex &parent) const { + Q_UNUSED(parent); return divepoints.count(); } |