From 231f770e0cc2647ff2090f81811dc19d89f0f51a Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Tue, 8 Mar 2016 02:27:43 -0300 Subject: Silence warnings in models.cpp Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-models/models.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qt-models/models.cpp b/qt-models/models.cpp index 6f6b501de..48b22797c 100644 --- a/qt-models/models.cpp +++ b/qt-models/models.cpp @@ -26,6 +26,7 @@ const QPixmap &trashForbiddenIcon() Qt::ItemFlags GasSelectionModel::flags(const QModelIndex &index) const { + Q_UNUSED(index); return Qt::ItemIsEnabled | Qt::ItemIsSelectable; } @@ -94,5 +95,6 @@ QVariant LanguageModel::data(const QModelIndex &index, int role) const int LanguageModel::rowCount(const QModelIndex &parent) const { + Q_UNUSED(parent); return languages.count(); } -- cgit v1.2.3-70-g09d2