Remove log output

This commit is contained in:
Luis Ángel San Martín Rodríguez 2024-08-31 15:20:46 +02:00
parent 9fc3ab4981
commit 7a430cc136

View File

@ -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);