fixed compilation warnings in YACReader.pro, at least using vc++ compiler

This commit is contained in:
Luis Ángel San Martín
2016-03-26 09:50:32 +01:00
parent e5a9fbbf3e
commit 20c01cca8c
7 changed files with 25 additions and 4 deletions

View File

@ -7,11 +7,15 @@ ActionsGroupsModel::ActionsGroupsModel(QObject *parent) :
int ActionsGroupsModel::rowCount(const QModelIndex &parent) const
{
Q_UNUSED(parent);
return groups.length();
}
int ActionsGroupsModel::columnCount(const QModelIndex &parent) const
{
Q_UNUSED(parent);
return 1;
}
@ -39,6 +43,8 @@ QVariant ActionsGroupsModel::data(const QModelIndex &index, int role) const
QModelIndex ActionsGroupsModel::parent(const QModelIndex &index) const
{
Q_UNUSED(index);
return QModelIndex();
}