| 1355 | } |
| 1356 | |
| 1357 | void Viewer::onContinuousPageRendered(int absolutePageIndex) |
| 1358 | { |
| 1359 | if (!continuousScroll || !render->hasLoadedComic()) { |
| 1360 | return; |
| 1361 | } |
| 1362 | |
| 1363 | const QImage *img = continuousPageProvider->image(absolutePageIndex); |
| 1364 | if (!img || img->isNull()) { |
| 1365 | return; |
| 1366 | } |
| 1367 | |
| 1368 | continuousViewModel->setPageNaturalSize(absolutePageIndex, img->size()); |
| 1369 | } |
| 1370 | |
| 1371 | void Viewer::probeContinuousBufferedPages() |
| 1372 | { |
nothing calls this directly
no test coverage detected