Fixed several warnings.

This commit is contained in:
eelke 2017-12-16 21:41:46 +01:00
parent 2ad4a2601f
commit 0b088a2723
6 changed files with 11 additions and 11 deletions

View file

@ -56,7 +56,7 @@ QVariant RolesTableModel::headerData(int section, Qt::Orientation orientation, i
return v;
}
int RolesTableModel::rowCount(const QModelIndex &parent) const
int RolesTableModel::rowCount(const QModelIndex &/*parent*/) const
{
int result = 0;
if (m_roles) {
@ -65,7 +65,7 @@ int RolesTableModel::rowCount(const QModelIndex &parent) const
return result;
}
int RolesTableModel::columnCount(const QModelIndex &parent) const
int RolesTableModel::columnCount(const QModelIndex &/*parent*/) const
{
int result = 10;
// if (parent.isValid())