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

@ -55,17 +55,17 @@ QVariant ColumnTableModel::headerData(int section, Qt::Orientation orientation,
return v;
}
int ColumnTableModel::rowCount(const QModelIndex &parent) const
int ColumnTableModel::rowCount(const QModelIndex &/*parent*/) const
{
return m_columns.size();
}
int ColumnTableModel::columnCount(const QModelIndex &parent) const
int ColumnTableModel::columnCount(const QModelIndex &/*parent*/) const
{
return colCount;
}
Oid ColumnTableModel::getType(int column) const
Oid ColumnTableModel::getType(int /*column*/) const
{
Oid oid = Pgsql::VARCHAROID;
// switch (column) {