r14983 by jghali - fix failure to save custom palette on Windows Xp caused by incorrect replacement of spaces by underscores

scribus-commit scribus-commit at lists.scribus.net
Sun Apr 18 02:30:20 CEST 2010


Revision: 14983
Author: jghali
Date: 2010-04-18T00:28:10.645402Z
Commit message: fix failure to save custom palette on Windows Xp caused by incorrect replacement of spaces by underscores

Changeset: 
M  /branches/Version135/Scribus/scribus/colorm.cpp

Diffs:
Index: scribus/colorm.cpp
===================================================================
--- scribus/colorm.cpp	(revision 14982)
+++ scribus/colorm.cpp	(revision 14983)
@@ -195,8 +195,9 @@
 		dia->setEditText(Name, false);
 	if (dia->exec())
 	{
-		QString Fname = Cpfad+dia->getEditText();
+		QString Fname = dia->getEditText();
 		Fname.replace(" ", "_");
+		Fname  = Cpfad + Fname;
 		Fname += ".xml";
 		QFile fx(Fname);
 		if (fx.open(QIODevice::WriteOnly))




More information about the scribus-commit mailing list