mirror of https://github.com/PCSX2/pcsx2.git
Qt: Fix HTTP download error format string
This commit is contained in:
parent
6c49f9cf52
commit
14a458a275
|
@ -1414,7 +1414,7 @@ std::optional<bool> QtHost::DownloadFile(QWidget* parent, const QString& title,
|
||||||
if (status_code != HTTPDownloader::HTTP_STATUS_OK)
|
if (status_code != HTTPDownloader::HTTP_STATUS_OK)
|
||||||
{
|
{
|
||||||
QMessageBox::critical(parent, qApp->translate("EmuThread", "Error"),
|
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;
|
download_result = false;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue