summaryrefslogtreecommitdiffstats
path: root/qt-models
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@gmail.com>2016-03-08 02:28:34 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-08 20:58:22 -0800
commitb895c8574eac61b64a1bbf309a59a37e4f58bcb6 (patch)
treeb69be81f8491d5406f20b75eb3bf230fd17d006c /qt-models
parentbf3c18787eb3d2985c4972cb84b94362227de16e (diff)
downloadsubsurface-b895c8574eac61b64a1bbf309a59a37e4f58bcb6.tar.gz
Silence warnings in weightmodel
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/weightmodel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-models/weightmodel.cpp b/qt-models/weightmodel.cpp
index 88ebeff6b..1ab8c24c8 100644
--- a/qt-models/weightmodel.cpp
+++ b/qt-models/weightmodel.cpp
@@ -143,6 +143,7 @@ Qt::ItemFlags WeightModel::flags(const QModelIndex &index) const
int WeightModel::rowCount(const QModelIndex &parent) const
{
+ Q_UNUSED(parent);
return rows;
}