Silence warnings in models.cpp
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
bba62fec82
commit
231f770e0c
@ -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();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user