| 1038 | } |
| 1039 | |
| 1040 | void RPCConsole::peerLayoutAboutToChange() |
| 1041 | { |
| 1042 | QModelIndexList selected = ui->peerWidget->selectionModel()->selectedIndexes(); |
| 1043 | cachedNodeids.clear(); |
| 1044 | for(int i = 0; i < selected.size(); i++) |
| 1045 | { |
| 1046 | const CNodeCombinedStats *stats = clientModel->getPeerTableModel()->getNodeStats(selected.at(i).row()); |
| 1047 | cachedNodeids.append(stats->nodeStats.nodeid); |
| 1048 | } |
| 1049 | } |
| 1050 | |
| 1051 | void RPCConsole::peerLayoutChanged() |
| 1052 | { |
nothing calls this directly
no test coverage detected