| 207 | } |
| 208 | |
| 209 | QModelIndex PeerTableModel::index(int row, int column, const QModelIndex &parent) const |
| 210 | { |
| 211 | Q_UNUSED(parent); |
| 212 | CNodeCombinedStats *data = priv->index(row); |
| 213 | |
| 214 | if (data) |
| 215 | return createIndex(row, column, data); |
| 216 | return QModelIndex(); |
| 217 | } |
| 218 | |
| 219 | const CNodeCombinedStats *PeerTableModel::getNodeStats(int idx) |
| 220 | { |
no test coverage detected