r15125 by cbradney - #2271: Use 1.5.0 prefs files only

scribus-commit scribus-commit at lists.scribus.net
Fri May 28 17:10:19 CEST 2010


Revision: 15125
Author: cbradney
Date: 2010-05-28T15:08:48.656497Z
Commit message: #2271: Use 1.5.0 prefs files only

Changeset: 
M  /trunk/Scribus/scribus/prefsmanager.cpp

Diffs:
Index: scribus/prefsmanager.cpp
===================================================================
--- scribus/prefsmanager.cpp	(revision 15124)
+++ scribus/prefsmanager.cpp	(revision 15125)
@@ -1830,15 +1830,15 @@
 	QDomElement elem=docu.documentElement();
 	if (elem.tagName() != "SCRIBUSRC")
 		return false;
-	//Ignore scribus*.rc files prior to 1.3.5 due to changes
-	bool prefs135FileFound=false;
+	//Ignore scribus*.rc files prior to 1.5.0 due to changes
+	bool prefs150FileFound=false;
 	if (elem.hasAttribute("VERSION"))
 	{
-		if (elem.attribute("VERSION") == "1.3.5")
-			prefs135FileFound=true;
+		if (elem.attribute("VERSION") == "1.5.0")
+			prefs150FileFound=true;
 	}
-	firstTimeIgnoreOldPrefs=!prefs135FileFound;
-	if (!prefs135FileFound)
+	firstTimeIgnoreOldPrefs=!prefs150FileFound;
+	if (!prefs150FileFound)
 		return false;
 	appPrefs.colorPrefs.DColors.clear();
 	appPrefs.extToolPrefs.latexCommands.clear();




More information about the scribus-commit mailing list