r21053 by craig -

scribus-commit scribus-commit at lists.scribus.net
Fri Mar 4 19:32:02 UTC 2016


Author: craig
Date: Fri Mar  4 19:32:02 2016
New Revision: 21053

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21053
Log:
Add some debug output for hash checking

Modified:
    trunk/Scribus/scribus/util_file.cpp

Modified: trunk/Scribus/scribus/util_file.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21053&path=/trunk/Scribus/scribus/util_file.cpp
==============================================================================
--- trunk/Scribus/scribus/util_file.cpp	(original)
+++ trunk/Scribus/scribus/util_file.cpp	Fri Mar  4 19:32:02 2016
@@ -300,7 +300,11 @@
 			QList<QByteArray> fileData(ba_hash.split(' '));
 			if (fileData[0] == ch.result().toHex() && fileData[1] == filename)
 				return true;
-		}
-	}
+			else
+				qDebug()<<"checkFileHash: checksum failed for"<<directory<<filename;
+		}
+	}
+	else
+		qDebug()<<"checkFileHash: loadRawText file unsuccessful";
 	return false;
 }




More information about the scribus-commit mailing list