This commit is contained in:
朱子楚\zhuzi
2023-10-15 16:29:50 +08:00
parent d805147627
commit 332c0ee54e
7 changed files with 11 additions and 7 deletions

View File

@ -38,7 +38,7 @@ QVariant FluTreeModel::data(const QModelIndex &index, int role) const {
};
QHash<int, QByteArray> FluTreeModel::roleNames() const {
return { {Qt::DisplayRole, "modelData"} };
return { {Qt::DisplayRole, "dataModel"} };
};
void FluTreeModel::setData(QList<Node*> data){