aboutsummaryrefslogtreecommitdiff
path: root/src/bench/peer_eviction.cpp
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-07-06 00:00:33 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-07-06 00:02:49 +0300
commita62fc35a150da584d39d7cd01ade14bbb5002fb9 (patch)
tree1067ca830ee185c9a2f921d0630d5712088eb8f1 /src/bench/peer_eviction.cpp
parent484d4ee226e2bbb2ab175cb1abe4e13b98489ead (diff)
parent986bf78d7e8fd9b69841ecb0decaff840efe9cff (diff)
downloadbitcoin-a62fc35a150da584d39d7cd01ade14bbb5002fb9.tar.xz
Merge bitcoin-core/gui#375: Emit dataChanged signal to dynamically re-sort Peers table
986bf78d7e8fd9b69841ecb0decaff840efe9cff qt: Emit dataChanged signal to dynamically re-sort Peers table (Hennadii Stepanov) Pull request description: [By default](https://doc.qt.io/qt-5/qsortfilterproxymodel.html#details), the `PeerTableSortProxy` > dynamically re-sorts ... data whenever the original model changes. That is not the case on master (8cdf91735f2bdc55577d84a9915f5920ce23b00a) as in ecbd91153875c8cdd5b92b840afc116f65e457fb (#164) no signals are emitted to notify about model changes. This PR uses a dedicated [`dataChanged`](https://doc.qt.io/qt-5/qabstractitemmodel.html#dataChanged) signal. Fixes #367. An alternative to #374. ACKs for top commit: jarolrod: ACK 986bf78d7e8fd9b69841ecb0decaff840efe9cff Tree-SHA512: dcb92c2f9a2c632880429e9528007db426d2ad938c64dfa1f1538c03e4b62620df52ad7daf33b582976c67b472ff76bc0dae707049f4bbbd4941232cee9ce3d4
Diffstat (limited to 'src/bench/peer_eviction.cpp')
0 files changed, 0 insertions, 0 deletions