| 886 | } |
| 887 | |
| 888 | QPixmap Viewer::pixmap() const |
| 889 | { |
| 890 | if (currentPage != nullptr && !currentPage->isNull()) |
| 891 | return *currentPage; |
| 892 | |
| 893 | return content->pixmap(); |
| 894 | } |
| 895 | |
| 896 | QByteArray Viewer::rawPage(int page) const |
| 897 | { |
no outgoing calls
no test coverage detected