From d1276b86cfd03b30abcbc3dc175f9a9afc6fb4b7 Mon Sep 17 00:00:00 2001 From: Aleksei Kanash Date: Fri, 15 Feb 2013 12:55:55 +0300 Subject: [PATCH] pdf fixes and version update --- Sankore_3.1.pro | 2 +- src/board/UBBoardController.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Sankore_3.1.pro b/Sankore_3.1.pro index 2a704222..f3077f01 100644 --- a/Sankore_3.1.pro +++ b/Sankore_3.1.pro @@ -9,7 +9,7 @@ CONFIG += debug_and_release \ VERSION_MAJ = 2 -VERSION_MIN = 00 +VERSION_MIN = 01 VERSION_TYPE = r # a = alpha, b = beta, r = release, other => error VERSION_PATCH = 00 diff --git a/src/board/UBBoardController.cpp b/src/board/UBBoardController.cpp index 8d4dc09e..486ad591 100644 --- a/src/board/UBBoardController.cpp +++ b/src/board/UBBoardController.cpp @@ -1895,7 +1895,7 @@ void UBBoardController::updateSystemScaleFactor() QSize pageNominalSize = mActiveScene->nominalSize(); //we're going to keep scale factor untouched if the size is custom QMap sizesMap = UBSettings::settings()->documentSizes; - if(pageNominalSize == sizesMap.value(DocumentSizeRatio::Ratio16_9) || pageNominalSize == sizesMap.value(DocumentSizeRatio::Ratio4_3)) + // if(pageNominalSize == sizesMap.value(DocumentSizeRatio::Ratio16_9) || pageNominalSize == sizesMap.value(DocumentSizeRatio::Ratio4_3)) { QSize controlSize = controlViewport();