r15810 by jghali - #9477: scribus crashes when modiying a font path

scribus-commit scribus-commit at lists.scribus.net
Sun Nov 7 22:33:57 CET 2010


Author: jghali
Date: Sun Nov  7 21:33:56 2010
New Revision: 15810

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=15810
Log:
#9477: scribus crashes when modiying a font path

Modified:
    branches/Version135/Scribus/scribus/fontprefs.cpp

Modified: branches/Version135/Scribus/scribus/fontprefs.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=15810&path=/branches/Version135/Scribus/scribus/fontprefs.cpp
==============================================================================
--- branches/Version135/Scribus/scribus/fontprefs.cpp (original)
+++ branches/Version135/Scribus/scribus/fontprefs.cpp Sun Nov  7 21:33:56 2010
@@ -249,7 +249,7 @@
 	{
 		if( s.endsWith("/") )
 			s = s.left(s.length()-1);
-		QString s2 = QDir::convertSeparators(s2);
+		QString s2 = QDir::convertSeparators(s);
 		if (PathList->findItems(s2, Qt::MatchExactly).count() != 0)
 			return;
 		QString path = PathList->currentItem()->text();




More information about the scribus-commit mailing list