Changed CRC errors management.

This commit is contained in:
Luis Ángel San Martín
2013-12-18 23:16:53 +01:00
parent 7e69e94b82
commit d075b111ee
6 changed files with 13 additions and 3 deletions

View File

@ -299,7 +299,7 @@ void FileComic::fileExtracted(int index, const QByteArray & rawData)
void FileComic::crcError(int index)
{
emit errorOpening(tr("CRC error on page (%1): some of the pages will not be displayed correctly").arg(index));
emit crcErrorFound(tr("CRC error on page (%1): some of the pages will not be displayed correctly").arg(index+1));
}
//TODO: comprobar que si se produce uno de estos errores, la carga del c<>mic es irrecuperable

View File

@ -90,6 +90,7 @@ class ComicDB;
void numPages(unsigned int numPages);
void errorOpening();
void errorOpening(QString);
void crcErrorFound(QString);
void isBookmark(bool);
void bookmarksUpdated();
void isCover();