diff --git a/YACReader/viewer.cpp b/YACReader/viewer.cpp index 82f857a3..69221b9e 100644 --- a/YACReader/viewer.cpp +++ b/YACReader/viewer.cpp @@ -393,7 +393,6 @@ void Viewer::updateContentSize() // scale the image to fit the container auto devicePixelRatioF = content->devicePixelRatioF(); - QLOG_ERROR() << "src size: " << currentPage->size() << " content size: " << content->size() << " target size " << QSize(content->width() * devicePixelRatioF, content->height() * devicePixelRatioF); QPixmap page = smartScalePixmap(*currentPage, content->width() * devicePixelRatioF, content->height() * devicePixelRatioF); // currentPage->scaled(content->width() * devicePixelRatioF(), content->height() * devicePixelRatioF(), Qt::KeepAspectRatio, Qt::SmoothTransformation); page.setDevicePixelRatio(devicePixelRatioF); content->setPixmap(page);