| 840 | } |
| 841 | |
| 842 | void Render::previousDoublePage() |
| 843 | { |
| 844 | int previousPage; // indica cuál será la próxima página |
| 845 | previousPage = qMax(currentIndex - 2, 0); |
| 846 | if (currentIndex != previousPage) { |
| 847 | comic->setIndex(previousPage); |
| 848 | previousIndex = currentIndex; |
| 849 | currentIndex = previousPage; |
| 850 | update(); |
| 851 | emit pageChanged(currentIndex); |
| 852 | } |
| 853 | } |
| 854 | |
| 855 | unsigned int Render::getIndex() |
| 856 | { |