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

--HG--
branch : develop
This commit is contained in:
kervala 2016-10-09 19:50:35 +02:00
parent 8caac6363f
commit 7b6a6945e5

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;