mirror of
https://github.com/YACReader/yacreader
synced 2025-07-17 20:44:32 -04:00
Use new methods
This commit is contained in:
@ -317,7 +317,7 @@ void Viewer::updateContentSize()
|
||||
//there is an image to resize
|
||||
if (currentPage != nullptr && !currentPage->isNull()) {
|
||||
QSize pagefit = currentPage->size();
|
||||
bool stretchImages = Configuration::getConfiguration().getSettings()->value(ENLARGE_IMAGES, true).toBool();
|
||||
bool stretchImages = Configuration::getConfiguration().getEnlargeImages();
|
||||
YACReader::FitMode fitmode = Configuration::getConfiguration().getFitMode();
|
||||
switch (fitmode) {
|
||||
case YACReader::FitMode::FullRes:
|
||||
|
Reference in New Issue
Block a user