1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

finished hashing error

This commit is contained in:
Laserlicht
2024-12-01 23:46:03 +01:00
parent 4103bb9e55
commit 6e29633ccb
4 changed files with 28 additions and 14 deletions

View File

@@ -84,7 +84,10 @@ bool ChroniclesExtractor::extractGogInstaller(QString file)
if(!errorText.isEmpty())
{
QString hashError = Innoextract::getHashError(file, {});
QMessageBox::critical(parent, tr("Extracting error!"), errorText);
if(!hashError.isEmpty())
QMessageBox::critical(parent, tr("Hash error!"), hashError, QMessageBox::Ok, QMessageBox::Ok);
return false;
}