Unselect everything that we've not downloaded so far. */
| 888 | |
| 889 | /** Unselect everything that we've not downloaded so far. */ |
| 890 | void ClientNetworkContentSocketHandler::UnselectAll() |
| 891 | { |
| 892 | for (const auto &ci : this->infos) { |
| 893 | if (ci->IsSelected() && ci->state != ContentInfo::State::AlreadyHere) ci->state = ContentInfo::State::Unselected; |
| 894 | } |
| 895 | } |
| 896 | |
| 897 | /** Toggle the state of a content info and check its dependencies */ |
| 898 | void ClientNetworkContentSocketHandler::ToggleSelectedState(const ContentInfo &ci) |
no test coverage detected