| 246 | } |
| 247 | |
| 248 | QList<QPair<ComicDB, QString>> SortVolumeComics::getMatchingInfo() |
| 249 | { |
| 250 | const auto comicList = localComicsModel->getData(); |
| 251 | QList<QPair<ComicDB, QString>> l; |
| 252 | |
| 253 | int index = 0; |
| 254 | |
| 255 | QString id; |
| 256 | for (const auto &c : comicList) { |
| 257 | id = volumeComicsModel->getComicId(index); |
| 258 | if (!c.getFileName().isEmpty() && !id.isEmpty()) // there is a valid comic, and valid comic ID |
| 259 | { |
| 260 | l.push_back(QPair<ComicDB, QString>(c, id)); |
| 261 | } |
| 262 | index++; |
| 263 | } |
| 264 | |
| 265 | return l; |
| 266 | } |
| 267 | |
| 268 | void SortVolumeComics::applyTheme(const Theme &theme) |
| 269 | { |
no test coverage detected