diff options
| author | Hennadii Stepanov <[email protected]> | 2019-08-24 12:32:47 +0300 |
|---|---|---|
| committer | Hennadii Stepanov <[email protected]> | 2019-08-25 08:16:14 +0300 |
| commit | c53667764ea65c0f8661358759b0124f808ce587 (patch) | |
| tree | 8c60a3b2aa9ca154e250dc921ea12f1f6ccf30b7 /src/qt/recentrequeststablemodel.h | |
| parent | Merge #16370: depends: cleanup package configure flags (diff) | |
| download | discoin-c53667764ea65c0f8661358759b0124f808ce587.tar.xz discoin-c53667764ea65c0f8661358759b0124f808ce587.zip | |
qt: Remove obsolete QModelIndex::child()
The QModelIndex::child() member function is obsolete since Qt 5.12.
Diffstat (limited to 'src/qt/recentrequeststablemodel.h')
| -rw-r--r-- | src/qt/recentrequeststablemodel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/recentrequeststablemodel.h b/src/qt/recentrequeststablemodel.h index 8a1140e95..130b709d4 100644 --- a/src/qt/recentrequeststablemodel.h +++ b/src/qt/recentrequeststablemodel.h @@ -76,7 +76,7 @@ public: QVariant data(const QModelIndex &index, int role) const; bool setData(const QModelIndex &index, const QVariant &value, int role); QVariant headerData(int section, Qt::Orientation orientation, int role) const; - QModelIndex index(int row, int column, const QModelIndex &parent) const; + QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const; bool removeRows(int row, int count, const QModelIndex &parent = QModelIndex()); Qt::ItemFlags flags(const QModelIndex &index) const; /*@}*/ |