Note: When implementing a table based model,
rowCount()should return 0 when the parent is valid.
QAbstractItemModel::columnCount:
Note: When implementing a table based model,
columnCount()should return 0 when the parent is valid.
Note: When implementing a table based model,
rowCount()should return 0 when the parent is valid.
QAbstractItemModel::columnCount:
Note: When implementing a table based model,
columnCount()should return 0 when the parent is valid.
Tested ACK 195fcb53a09e9b852544778a077727f81d31303e. Compiled and ran on macOS (Big Sur 11.1 and Catalina 10.15.7), Arch Linux, and FreeBSD. visually verified no weird effects with the Address, Ban, Peer, and Transaction tables. As already stated, the code change brings us inline with what the QT Docs recommend.
utACK