| 1369 | } |
| 1370 | |
| 1371 | void Viewer::probeContinuousBufferedPages() |
| 1372 | { |
| 1373 | if (!render->hasLoadedComic()) { |
| 1374 | return; |
| 1375 | } |
| 1376 | |
| 1377 | const int totalPages = static_cast<int>(render->numPages()); |
| 1378 | for (int i = 0; i < totalPages; ++i) { |
| 1379 | const QImage *img = continuousPageProvider->image(i); |
| 1380 | if (img && !img->isNull()) { |
| 1381 | continuousViewModel->setPageNaturalSize(i, img->size()); |
| 1382 | } |
| 1383 | } |
| 1384 | } |
| 1385 | |
| 1386 | void Viewer::applyContinuousStateToUi() |
| 1387 | { |
nothing calls this directly
no test coverage detected