summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@gmail.com>2016-03-08 02:26:44 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-08 20:58:21 -0800
commit6c6e1ce6ff133c541d695d613134ff1404155a84 (patch)
treeebc07fb989d7d3cafb90b247e1accc1decd204f6
parentb23ff086cf2d4e6b7c3626595b59b63a3960ff8b (diff)
downloadsubsurface-6c6e1ce6ff133c541d695d613134ff1404155a84.tar.gz
Silence warnings in Diveplannermodel
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-models/diveplannermodel.cpp1
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();
}