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

@ -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())