| 295 | } |
| 296 | |
| 297 | void Viewer::next() |
| 298 | { |
| 299 | if (!render->hasLoadedComic()) { |
| 300 | return; |
| 301 | } |
| 302 | |
| 303 | direction = 1; |
| 304 | syncRenderToContinuousReadingProgress(); |
| 305 | if (doublePage && render->currentPageIsDoublePage()) { |
| 306 | render->nextDoublePage(); |
| 307 | } else { |
| 308 | render->nextPage(); |
| 309 | } |
| 310 | updateInformation(); |
| 311 | shouldOpenPrevious = false; |
| 312 | } |
| 313 | |
| 314 | void Viewer::left() |
| 315 | { |
nothing calls this directly
no test coverage detected