r14984 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:38 CEST 2010


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

Changeset: 
M  /trunk/Scribus/scribus/ui/colorm.cpp

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




More information about the scribus-commit mailing list