mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
Update viewer.cpp
This commit is contained in:
parent
3342fef1cb
commit
acce89ef78
@ -317,7 +317,7 @@ void Viewer::updateContentSize()
|
|||||||
//there is an image to resize
|
//there is an image to resize
|
||||||
if (currentPage != nullptr && !currentPage->isNull()) {
|
if (currentPage != nullptr && !currentPage->isNull()) {
|
||||||
QSize pagefit = currentPage->size();
|
QSize pagefit = currentPage->size();
|
||||||
bool stretchImages = Configuration::getConfiguration().getSettings()->value(ENLARGE_IMAGES).toBool();
|
bool stretchImages = Configuration::getConfiguration().getSettings()->value(ENLARGE_IMAGES, true).toBool();
|
||||||
YACReader::FitMode fitmode = Configuration::getConfiguration().getFitMode();
|
YACReader::FitMode fitmode = Configuration::getConfiguration().getFitMode();
|
||||||
switch (fitmode) {
|
switch (fitmode) {
|
||||||
case YACReader::FitMode::FullRes:
|
case YACReader::FitMode::FullRes:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user