summaryrefslogtreecommitdiffstats
path: root/qt-models
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@gmail.com>2016-03-08 02:24:45 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-08 20:58:21 -0800
commitfb037ba55fbaa7b2005b95cc9f13b76a7cc7e297 (patch)
tree5c9a606336159cc27887cf7ea9673a4e4584c0d4 /qt-models
parent5f822948e6e2f5463c35c7409d48cce490894650 (diff)
downloadsubsurface-fb037ba55fbaa7b2005b95cc9f13b76a7cc7e297.tar.gz
Silence warnings in CylinderModel
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-models')
-rw-r--r--qt-models/cylindermodel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-models/cylindermodel.cpp b/qt-models/cylindermodel.cpp
index 87edd5fe0..af01650a4 100644
--- a/qt-models/cylindermodel.cpp
+++ b/qt-models/cylindermodel.cpp
@@ -286,6 +286,7 @@ bool CylindersModel::setData(const QModelIndex &index, const QVariant &value, in
int CylindersModel::rowCount(const QModelIndex &parent) const
{
+ Q_UNUSED(parent);
return rows;
}