mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
print a reason when dup() fails
Signed-off-by: Rolf Eike Beer <eike@sf-mail.de>
This commit is contained in:
parent
9ea32a0158
commit
c3fe5fffb4
1 changed files with 1 additions and 1 deletions
|
@ -677,7 +677,7 @@ void DivelogsDeWebServices::downloadFinished()
|
||||||
::close(duppedfd);
|
::close(duppedfd);
|
||||||
} else {
|
} else {
|
||||||
QMessageBox::critical(this, tr("Problem with download"),
|
QMessageBox::critical(this, tr("Problem with download"),
|
||||||
tr("The archive could not be opened:\n"));
|
tr("The archive could not be opened:\n%1").arg(QString::fromLocal8Bit(strerror(errno))));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue