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
@ -677,7 +677,7 @@ void DivelogsDeWebServices::downloadFinished()
|
||||
::close(duppedfd);
|
||||
} else {
|
||||
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;
|
||||
}
|
||||
#else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user