From 7a430cc136bb3c90daf105edd16fc24be961b8fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20A=CC=81ngel=20San=20Marti=CC=81n=20Rodri=CC=81guez?= Date: Sat, 31 Aug 2024 15:20:46 +0200 Subject: [PATCH] Remove log output --- YACReader/viewer.cpp | 1 - 1 file changed, 1 deletion(-) 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);