r20050 by craig - #13042: Fix maximum display DPI to 500 to allow for current 4k, 5k, and future screens

scribus-commit scribus-commit at lists.scribus.net
Mon May 4 17:09:14 UTC 2015


Author: craig
Date: Mon May  4 17:09:14 2015
New Revision: 20050

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20050
Log:
#13042: Fix maximum display DPI to 500 to allow for current 4k, 5k, and future screens

Modified:
    branches/Version14x/Scribus/scribus/tabdisplay.cpp
    branches/Version14x/Scribus/scribus/tabdisplay.ui

Modified: branches/Version14x/Scribus/scribus/tabdisplay.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20050&path=/branches/Version14x/Scribus/scribus/tabdisplay.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/tabdisplay.cpp (original)
+++ branches/Version14x/Scribus/scribus/tabdisplay.cpp Mon May  4 17:09:14 2015
@@ -187,7 +187,7 @@
 {
 	disconnect(CaliSlider, SIGNAL(valueChanged(int)), this, SLOT(setDisScale()));
 	int dpi = qApp->desktop()->logicalDpiX();
-	if ((dpi < 60) || (dpi > 250))
+	if ((dpi < 60) || (dpi > 500))
 		dpi = 72;
 	DisScale = dpi / 72.0;
 	CaliSlider->setValue(qRound(100 * DisScale) - 150);

Modified: branches/Version14x/Scribus/scribus/tabdisplay.ui
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20050&path=/branches/Version14x/Scribus/scribus/tabdisplay.ui
==============================================================================
--- branches/Version14x/Scribus/scribus/tabdisplay.ui (original)
+++ branches/Version14x/Scribus/scribus/tabdisplay.ui Mon May  4 17:09:14 2015
@@ -281,7 +281,7 @@
                <number>-150</number>
               </property>
               <property name="maximum" >
-               <number>150</number>
+               <number>500</number>
               </property>
               <property name="orientation" >
                <enum>Qt::Horizontal</enum>




More information about the scribus-commit mailing list