| 1485 | } |
| 1486 | |
| 1487 | void Viewer::setMangaModeImpl(bool manga, bool persistSettings) |
| 1488 | { |
| 1489 | if (doubleMangaPage == manga) { |
| 1490 | return; |
| 1491 | } |
| 1492 | |
| 1493 | doubleMangaPage = manga; |
| 1494 | |
| 1495 | if (persistSettings) { |
| 1496 | Configuration &config = Configuration::getConfiguration(); |
| 1497 | config.setDoubleMangaPage(doubleMangaPage); |
| 1498 | goToFlow->updateConfig(config.getSettings()); |
| 1499 | } |
| 1500 | |
| 1501 | render->setManga(manga); |
| 1502 | goToFlow->setFlowRightToLeft(doubleMangaPage); |
| 1503 | } |
| 1504 | |
| 1505 | void Viewer::setMangaWithoutStoringSetting(bool manga) |
| 1506 | { |
nothing calls this directly
no test coverage detected