r19017 by jghali - #12199: Scratch space amnesia

scribus-commit scribus-commit at lists.scribus.net
Sun Apr 6 20:26:07 UTC 2014


Author: jghali
Date: Sun Apr  6 20:26:07 2014
New Revision: 19017

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19017
Log:
#12199: Scratch space amnesia

Modified:
    trunk/Scribus/scribus/prefsmanager.cpp

Modified: trunk/Scribus/scribus/prefsmanager.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19017&path=/trunk/Scribus/scribus/prefsmanager.cpp
==============================================================================
--- trunk/Scribus/scribus/prefsmanager.cpp (original)
+++ trunk/Scribus/scribus/prefsmanager.cpp Sun Apr  6 20:26:07 2014
@@ -1391,10 +1391,10 @@
 	elem.appendChild(deSE);
 
 	QDomElement deDisplay=docu.createElement("Display");
-	deDisplay.setAttribute("ScratchBottom", appPrefs.displayPrefs.scratch.Bottom);
-	deDisplay.setAttribute("ScratchLeft", appPrefs.displayPrefs.scratch.Left);
-	deDisplay.setAttribute("ScratchRight", appPrefs.displayPrefs.scratch.Right);
-	deDisplay.setAttribute("ScratchTop", appPrefs.displayPrefs.scratch.Top);
+	deDisplay.setAttribute("ScratchBottom", ScCLocale::toQStringC(appPrefs.displayPrefs.scratch.Bottom));
+	deDisplay.setAttribute("ScratchLeft", ScCLocale::toQStringC(appPrefs.displayPrefs.scratch.Left));
+	deDisplay.setAttribute("ScratchRight", ScCLocale::toQStringC(appPrefs.displayPrefs.scratch.Right));
+	deDisplay.setAttribute("ScratchTop", ScCLocale::toQStringC(appPrefs.displayPrefs.scratch.Top));
 	deDisplay.setAttribute("PageGapHorizontal", ScCLocale::toQStringC(appPrefs.displayPrefs.pageGapHorizontal));
 	deDisplay.setAttribute("PageGapVertical", ScCLocale::toQStringC(appPrefs.displayPrefs.pageGapVertical));
 	deDisplay.setAttribute("ShowPageShadow",static_cast<int>(appPrefs.displayPrefs.showPageShadow));




More information about the scribus-commit mailing list