From b895c8574eac61b64a1bbf309a59a37e4f58bcb6 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Tue, 8 Mar 2016 02:28:34 -0300 Subject: Silence warnings in weightmodel Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-models/weightmodel.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-models') 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; } -- cgit v1.2.3-70-g09d2