diff options
author | Tomaz Canabrava <tomaz.canabrava@gmail.com> | 2016-03-08 02:27:43 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-03-08 20:58:21 -0800 |
commit | 231f770e0cc2647ff2090f81811dc19d89f0f51a (patch) | |
tree | ecb66b5cc261c4e6696c690bf9fbd0c9c39a4d7b /qt-models/models.cpp | |
parent | bba62fec8274594dbecc46a1fa2dd7dd2dcfea0c (diff) | |
download | subsurface-231f770e0cc2647ff2090f81811dc19d89f0f51a.tar.gz |
Silence warnings in models.cpp
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-models/models.cpp')
-rw-r--r-- | qt-models/models.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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(); } |