Qt: Fix HTTP download error format string

This commit is contained in:
Connor McLaughlin 2024-01-07 20:14:01 +10:00 committed by GitHub
parent 6c49f9cf52
commit 14a458a275
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1414,7 +1414,7 @@ std::optional<bool> QtHost::DownloadFile(QWidget* parent, const QString& title,
if (status_code != HTTPDownloader::HTTP_STATUS_OK)
{
QMessageBox::critical(parent, qApp->translate("EmuThread", "Error"),
qApp->translate("EmuThread", "Download failed with HTTP status code {}.").arg(status_code));
qApp->translate("EmuThread", "Download failed with HTTP status code %1.").arg(status_code));
download_result = false;
return;
}