| 144 | int QNapi::bestIdx() { return theBestIdx; } |
| 145 | |
| 146 | bool QNapi::download(int i) { |
| 147 | SubtitleInfo s = subtitlesList[i]; |
| 148 | currentEngine = engineByName(s.engine); |
| 149 | if (!currentEngine) return false; |
| 150 | return currentEngine->download(s.id); |
| 151 | } |
| 152 | |
| 153 | bool QNapi::unpack(int i) { |
| 154 | return currentEngine ? currentEngine->unpack(subtitlesList[i].id) : false; |
no outgoing calls
no test coverage detected