summaryrefslogtreecommitdiffstats
path: root/qt-models/models.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-models/models.cpp')
-rw-r--r--qt-models/models.cpp2
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();
}