r19016 by jghali - #12199: Scratch space amnesia

scribus-commit scribus-commit at lists.scribus.net
Sun Apr 6 20:23:50 UTC 2014


Author: jghali
Date: Sun Apr  6 20:23:49 2014
New Revision: 19016

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

Modified:
    branches/Version14x/Scribus/scribus/prefsmanager.cpp

Modified: branches/Version14x/Scribus/scribus/prefsmanager.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19016&path=/branches/Version14x/Scribus/scribus/prefsmanager.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/prefsmanager.cpp (original)
+++ branches/Version14x/Scribus/scribus/prefsmanager.cpp Sun Apr  6 20:23:49 2014
@@ -1275,10 +1275,10 @@
 	dc.setAttribute("rulersShown", static_cast<int>(appPrefs.guidesSettings.rulersShown));
 	dc.setAttribute("showBleed", static_cast<int>(appPrefs.guidesSettings.showBleed));
 	dc.setAttribute("rulerMode", static_cast<int>(appPrefs.guidesSettings.rulerMode));
-	dc.setAttribute("ScratchBottom", appPrefs.scratch.Bottom);
-	dc.setAttribute("ScratchLeft", appPrefs.scratch.Left);
-	dc.setAttribute("ScratchRight", appPrefs.scratch.Right);
-	dc.setAttribute("ScratchTop", appPrefs.scratch.Top);
+	dc.setAttribute("ScratchBottom", ScCLocale::toQStringC(appPrefs.scratch.Bottom));
+	dc.setAttribute("ScratchLeft", ScCLocale::toQStringC(appPrefs.scratch.Left));
+	dc.setAttribute("ScratchRight", ScCLocale::toQStringC(appPrefs.scratch.Right));
+	dc.setAttribute("ScratchTop", ScCLocale::toQStringC(appPrefs.scratch.Top));
 	dc.setAttribute("GapHorizontal", ScCLocale::toQStringC(appPrefs.GapHorizontal));
 	dc.setAttribute("GapVertical", ScCLocale::toQStringC(appPrefs.GapVertical));
 	dc.setAttribute("STECOLOR", appPrefs.STEcolor.name());




More information about the scribus-commit mailing list