We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0494d75 + c414ec6 commit 9a256a4Copy full SHA for 9a256a4
jsonlistmodel.h
@@ -30,7 +30,7 @@ class JsonListModel : public QAbstractItemModel
30
Q_INVOKABLE QJSValue get(const QJSValue&) const;
31
Q_INVOKABLE QJSValue asArray(bool deepCopy = false) const;
32
33
- QModelIndex index(int row, int column, const QModelIndex &parent) const;
+ QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const;
34
QModelIndex parent(const QModelIndex &child) const;
35
int rowCount(const QModelIndex &parent = QModelIndex()) const;
36
int columnCount(const QModelIndex &parent= QModelIndex()) const;
0 commit comments