From: Bernhard Reutner-F. <rep...@gm...> - 2010-04-08 12:12:50
|
On Thu, Apr 08, 2010 at 12:13:45PM +0200, Fabien Chéreau wrote: >Nice, >I applied the patch (rev 6101), thanks Bernhard! thanks. Fabien, may i ask you to rephrase the error message too, like: diff --git a/stellarium/src/modules/StarMgr.cpp b/stellarium/src/modules/StarMgr.cpp index 669b480..e3bae67 100644 --- a/stellarium/src/modules/StarMgr.cpp +++ b/stellarium/src/modules/StarMgr.cpp @@ -329,7 +329,7 @@ bool StarMgr::checkAndLoadCatalog(QVariantMap catDesc) fic.unmap(cat); if (md5Hash.result().toHex()!=catDesc.value("checksum").toByteArray()) { - qWarning() << "Error checking file" << catalogFileName << ": file is corrupted. MD5 sums don't match: found " << md5Hash.result().toHex() << " expected " << catDesc.value("checksum").toByteArray(); + qWarning() << "Error: File " << catalogFileName << " is corrupt, MD5 mismatch! Found " << md5Hash.result().toHex() << " expected " << catDesc.value("checksum").toByteArray(); fic.remove(); return false; } TIA && cheers, PS: Is there a reason that the default calatogues don't come with checksums? |