From e52fb734f0ea8eb5c19a8b5933612692ba314033 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Mon, 28 Mar 2016 17:19:29 +0300 Subject: [PATCH] Changed default layout settings. --HG-- branch : develop --- src/app/valentina/dialogs/dialoglayoutsettings.ui | 7 +++++-- src/libs/vmisc/vsettings.cpp | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/app/valentina/dialogs/dialoglayoutsettings.ui b/src/app/valentina/dialogs/dialoglayoutsettings.ui index 6cdf43658..e4aace2cf 100644 --- a/src/app/valentina/dialogs/dialoglayoutsettings.ui +++ b/src/app/valentina/dialogs/dialoglayoutsettings.ui @@ -6,7 +6,7 @@ 0 0 - 623 + 632 531 @@ -338,7 +338,7 @@ 99999.990000000005239 - 10.000000000000000 + 0.000000000000000 @@ -376,6 +376,9 @@ true + + false + diff --git a/src/libs/vmisc/vsettings.cpp b/src/libs/vmisc/vsettings.cpp index 017f4baae..38b6868ec 100644 --- a/src/libs/vmisc/vsettings.cpp +++ b/src/libs/vmisc/vsettings.cpp @@ -323,7 +323,7 @@ qreal VSettings::GetLayoutShift() const //--------------------------------------------------------------------------------------------------------------------- qreal VSettings::GetDefLayoutShift() { - return UnitConvertor(50, Unit::Mm, Unit::Px); + return 0; } //--------------------------------------------------------------------------------------------------------------------- @@ -447,7 +447,7 @@ bool VSettings::GetLayoutRotate() const //--------------------------------------------------------------------------------------------------------------------- bool VSettings::GetDefLayoutRotate() { - return true; + return false; } //---------------------------------------------------------------------------------------------------------------------