mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Remove log output
This commit is contained in:
parent
9fc3ab4981
commit
7a430cc136
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user