pdf fixes and version update

preferencesAboutTextFull
Aleksei Kanash 12 years ago committed by Claudio Valerio
parent 6037d9aa8f
commit d1276b86cf
  1. 2
      Sankore_3.1.pro
  2. 2
      src/board/UBBoardController.cpp

@ -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

@ -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<DocumentSizeRatio::Enum, QSize> 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();

Loading…
Cancel
Save