Fixed several warnings.
This commit is contained in:
parent
2ad4a2601f
commit
0b088a2723
6 changed files with 11 additions and 11 deletions
|
|
@ -7,7 +7,7 @@ TypeSelectionItemModel::TypeSelectionItemModel(QObject *parent)
|
|||
{
|
||||
}
|
||||
|
||||
int TypeSelectionItemModel::rowCount(const QModelIndex &parent) const
|
||||
int TypeSelectionItemModel::rowCount(const QModelIndex &/*parent*/) const
|
||||
{
|
||||
int result = m_types.size();
|
||||
// if (!parent.isValid()) {
|
||||
|
|
@ -16,7 +16,7 @@ int TypeSelectionItemModel::rowCount(const QModelIndex &parent) const
|
|||
return result;
|
||||
}
|
||||
|
||||
int TypeSelectionItemModel::columnCount(const QModelIndex &parent) const
|
||||
int TypeSelectionItemModel::columnCount(const QModelIndex &/*parent*/) const
|
||||
{
|
||||
int result = 1;
|
||||
// if (parent.isValid())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue