mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-22 04:37:46 +00:00
Emit error when failing to open benchmark zip file
This commit is contained in:
parent
f3a45fe847
commit
8f9e42b097
1 changed files with 2 additions and 2 deletions
|
@ -69,8 +69,8 @@ void BenchmarkInstaller::installGame()
|
||||||
|
|
||||||
KZip archive(m_localInstallerPath);
|
KZip archive(m_localInstallerPath);
|
||||||
if (!archive.open(QIODevice::ReadOnly)) {
|
if (!archive.open(QIODevice::ReadOnly)) {
|
||||||
qCritical(ASTRA_LOG) << "Failed to extract benchmark files";
|
qCritical(ASTRA_LOG) << "Failed to extract benchmark files:" << archive.errorString();
|
||||||
Q_EMIT error(i18n("Failed to extract benchmark files."));
|
Q_EMIT error(i18n("Failed to extract benchmark files:\n\n%1", archive.errorString()));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue