From acce89ef78c77b40c74f055d726b150dea315879 Mon Sep 17 00:00:00 2001 From: Felix Kauselmann Date: Mon, 7 Sep 2020 08:54:23 +0200 Subject: [PATCH] Update viewer.cpp --- YACReader/viewer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YACReader/viewer.cpp b/YACReader/viewer.cpp index 50dc0971..eaa96381 100644 --- a/YACReader/viewer.cpp +++ b/YACReader/viewer.cpp @@ -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).toBool(); + bool stretchImages = Configuration::getConfiguration().getSettings()->value(ENLARGE_IMAGES, true).toBool(); YACReader::FitMode fitmode = Configuration::getConfiguration().getFitMode(); switch (fitmode) { case YACReader::FitMode::FullRes: