r14651 by jghali - fix for broken qDebug() related fixes

scribus-commit scribus-commit at lists.scribus.net
Sat Feb 6 20:40:22 CET 2010


Revision: 14651
Author: jghali
Date: 2010-02-06T19:37:43.595323Z
Commit message: fix for broken qDebug() related fixes

Changeset: 
M  /branches/Version133x/Scribus/scribus/scfonts.cpp
M  /branches/Version133x/Scribus/scribus/pdflib.cpp

Diffs:
Index: scribus/pdflib.cpp
===================================================================
--- scribus/pdflib.cpp	(revision 14650)
+++ scribus/pdflib.cpp	(revision 14651)
@@ -6147,7 +6147,7 @@
 {
 	ErrorMessage = errorMsg;
 	if (!ScQApp->usingGUI())
-		qDebug"%s"(errorMsg.local8Bit().data());
+		qDebug("%s", errorMsg.local8Bit().data());
 }
 
 void PDFlib::PDF_Error_WriteFailure(void)
Index: scribus/scfonts.cpp
===================================================================
--- scribus/scfonts.cpp	(revision 14650)
+++ scribus/scfonts.cpp	(revision 14651)
@@ -346,13 +346,13 @@
 					metricsFile = fontMetrics[i];
 					if (FT_Attach_File(face, metricsFile.local8Bit().data()))
 					{
-						qDebug"%s"(QObject::tr("Font %1 has broken metrics in file %2, ignoring metrics").arg(fontPath).arg(metricsFile).latin1());
+						qDebug("%s", QObject::tr("Font %1 has broken metrics in file %2, ignoring metrics").arg(fontPath).arg(metricsFile).latin1());
 						brokenMetric = true;
 					}
 					else
 					{
 						if (brokenMetric)
-							qDebug"%s"(QObject::tr("Valid metrics were found for font %1, using metrics in file  %2").arg(fontFilePath()).arg(metricsFile).latin1());
+							qDebug("%s", QObject::tr("Valid metrics were found for font %1, using metrics in file  %2").arg(fontFilePath()).arg(metricsFile).latin1());
 						metricsFound = true;
 						break;
 					}




More information about the scribus-commit mailing list