r16453 by craig - Prefs file variable rename fix

scribus-commit scribus-commit at lists.scribus.net
Thu Mar 17 18:30:32 CET 2011


Author: craig
Date: Thu Mar 17 17:30:32 2011
New Revision: 16453

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=16453
Log:
Prefs file variable rename fix

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

Modified: branches/Version135/Scribus/scribus/prefsmanager.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16453&path=/branches/Version135/Scribus/scribus/prefsmanager.cpp
==============================================================================
--- branches/Version135/Scribus/scribus/prefsmanager.cpp (original)
+++ branches/Version135/Scribus/scribus/prefsmanager.cpp Thu Mar 17 17:30:32 2011
@@ -1714,7 +1714,7 @@
 	if(!f.open(QIODevice::WriteOnly))
 	{
 		m_lastError = tr("Could not open preferences file \"%1\" for writing: %2")
-			.arg(ho).arg(qApp->translate("QFile",f.errorString().toLatin1().constData()));
+			.arg(filename).arg(qApp->translate("QFile",f.errorString().toLatin1().constData()));
 	}
 	else
 	{
@@ -1725,7 +1725,7 @@
 			result = true;
 		else
 			m_lastError = tr("Writing to preferences file \"%1\" failed: "
-				             "QIODevice status code %2").arg(ho).arg(f.errorString());
+				             "QIODevice status code %2").arg(filename).arg(f.errorString());
 	}
 	if (f.isOpen())
 		f.close();




More information about the scribus-commit mailing list