Changed: Error 6 occurs when a 7z file is damaged and can't be uncompressed

This commit is contained in:
kervala 2016-10-09 19:50:35 +02:00
parent 8ab5d4884b
commit c2d74a55e0

View file

@ -467,6 +467,10 @@ bool CFilesExtractor::extract7z()
error = QApplication::tr("7zip decoder doesn't support this archive"); error = QApplication::tr("7zip decoder doesn't support this archive");
break; break;
case SZ_ERROR_INPUT_EOF:
error = QApplication::tr("Errors in 7z file");
break;
case SZ_ERROR_FAIL: case SZ_ERROR_FAIL:
// error already defined // error already defined
break; break;