| 154 | } |
| 155 | |
| 156 | bool ModDownloadDialog::isModSelected(QString name, QString filename) const |
| 157 | { |
| 158 | // FIXME: Is there a way to check for versions without checking the filename |
| 159 | // as a heuristic, other than adding such info to ModDownloadTask itself? |
| 160 | auto iter = modTask.find(name); |
| 161 | return iter != modTask.end() && (iter.value()->getFilename() == filename); |
| 162 | } |
| 163 | |
| 164 | bool ModDownloadDialog::isModSelected(QString name) const |
| 165 | { |
no test coverage detected