r15412 by craig - #9307: Fix incorrect usage of config file name as index to fix render frames

scribus-commit scribus-commit at lists.scribus.net
Thu Aug 12 00:02:06 CEST 2010


Author: craig
Date: Wed Aug 11 22:02:06 2010
New Revision: 15412

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=15412
Log:
#9307: Fix incorrect usage of config file name as index to fix render frames

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

Modified: branches/Version135/Scribus/scribus/latexhelpers.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=15412&path=/branches/Version135/Scribus/scribus/latexhelpers.cpp
==============================================================================
--- branches/Version135/Scribus/scribus/latexhelpers.cpp (original)
+++ branches/Version135/Scribus/scribus/latexhelpers.cpp Wed Aug 11 22:02:06 2010
@@ -286,7 +286,9 @@
 
 QString LatexConfigParser::executable() const
 {
-	QString command = PrefsManager::instance()->latexCommands()[m_filename];
+	QFileInfo f(m_filename);
+	QString fileName=f.fileName();
+	QString command = PrefsManager::instance()->latexCommands()[fileName];
 	if (command.isEmpty()) {
 		return m_executable;
 	} else {




More information about the scribus-commit mailing list