diff options
author | Rolf Eike Beer <eike@sf-mail.de> | 2019-03-24 11:07:45 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-03-27 07:36:33 -0700 |
commit | c3fe5fffb491323fa85a55cf5502808dc0e36104 (patch) | |
tree | 580118168fb6d3d81e3af3cdaaf489a527d5b410 /desktop-widgets | |
parent | 9ea32a015870638c2a848d4ceab13a204b05c2ae (diff) | |
download | subsurface-c3fe5fffb491323fa85a55cf5502808dc0e36104.tar.gz |
print a reason when dup() fails
Signed-off-by: Rolf Eike Beer <eike@sf-mail.de>
Diffstat (limited to 'desktop-widgets')
-rw-r--r-- | desktop-widgets/subsurfacewebservices.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/subsurfacewebservices.cpp b/desktop-widgets/subsurfacewebservices.cpp index 6e7e15991..3d65d7686 100644 --- a/desktop-widgets/subsurfacewebservices.cpp +++ b/desktop-widgets/subsurfacewebservices.cpp @@ -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 |