We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0494d75 commit c414ec6Copy full SHA for c414ec6
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