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