| 229 | } |
| 230 | |
| 231 | int PeerTableModel::getRowByNodeId(NodeId nodeid) |
| 232 | { |
| 233 | std::map<NodeId, int>::iterator it = priv->mapNodeRows.find(nodeid); |
| 234 | if (it == priv->mapNodeRows.end()) |
| 235 | return -1; |
| 236 | |
| 237 | return it->second; |
| 238 | } |
| 239 | |
| 240 | void PeerTableModel::sort(int column, Qt::SortOrder order) |
| 241 | { |
no test coverage detected