mirror of
https://github.com/PCSX2/pcsx2.git
synced 2025-12-16 04:08:48 +00:00
Qt/Host: Clarify download error message
This is used if it can't write the downloaded data
This commit is contained in:
parent
c6437bccad
commit
cee01a22e1
@ -1586,7 +1586,7 @@ bool QtHost::DownloadFile(QWidget* parent, const QString& title, std::string url
|
|||||||
!FileSystem::WriteBinaryFile(path.c_str(), data.data(), data.size()))
|
!FileSystem::WriteBinaryFile(path.c_str(), data.data(), data.size()))
|
||||||
{
|
{
|
||||||
QMessageBox::critical(parent, qApp->translate("EmuThread", "Error"),
|
QMessageBox::critical(parent, qApp->translate("EmuThread", "Error"),
|
||||||
qApp->translate("EmuThread", "Failed to write '%1'.").arg(QString::fromStdString(path)));
|
qApp->translate("EmuThread", "Failed to write downloaded data to file '%1'.").arg(QString::fromStdString(path)));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user