mirror of
https://github.com/status-im/dotherside.git
synced 2025-02-07 02:05:00 +00:00
Removed warnings
This commit is contained in:
parent
971ededef8
commit
e025e084bd
@ -139,6 +139,7 @@ class DosQAbstractItemModel : public DosQAbstractGenericModel<QAbstractItemModel
|
||||
{
|
||||
public:
|
||||
using DosQAbstractGenericModel::DosQAbstractGenericModel;
|
||||
|
||||
bool defaultHasChildren(const QModelIndex &parent) const override;
|
||||
};
|
||||
|
||||
|
@ -274,7 +274,7 @@ bool DosQAbstractListModel::defaultHasChildren(const QModelIndex &parent) const
|
||||
return parent.isValid() ? false : (rowCount() > 0);
|
||||
}
|
||||
|
||||
QModelIndex DosQAbstractListModel::defaultParent(const QModelIndex &child) const
|
||||
QModelIndex DosQAbstractListModel::defaultParent(const QModelIndex & /*child*/) const
|
||||
{
|
||||
return QModelIndex();
|
||||
}
|
||||
@ -291,7 +291,7 @@ bool DosQAbstractTableModel::defaultHasChildren(const QModelIndex &parent) const
|
||||
return false;
|
||||
}
|
||||
|
||||
QModelIndex DosQAbstractTableModel::defaultParent(const QModelIndex &child) const
|
||||
QModelIndex DosQAbstractTableModel::defaultParent(const QModelIndex & /*child*/) const
|
||||
{
|
||||
return QModelIndex();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user