Fixed several warnings.
This commit is contained in:
parent
2ad4a2601f
commit
0b088a2723
6 changed files with 11 additions and 11 deletions
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue