diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-04-28 10:42:54 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-04-28 10:42:54 -0700 |
commit | 3043114446e1af5eb05946fc495be06157610d20 (patch) | |
tree | 507f51589d76f1740efd3c1a8199838cbe8a9ec1 /qt-ui/subsurfacewebservices.cpp | |
parent | ef774032ed30dd2024483291d3850985a4e98cce (diff) | |
download | subsurface-3043114446e1af5eb05946fc495be06157610d20.tar.gz |
Show error if creation of the Divelogs.de upload file fails
Previously we simply failed silently without showing the user any
indication that something went wrong. That seems wrong.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/subsurfacewebservices.cpp')
-rw-r--r-- | qt-ui/subsurfacewebservices.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/subsurfacewebservices.cpp b/qt-ui/subsurfacewebservices.cpp index 99ec50910..a8615a36c 100644 --- a/qt-ui/subsurfacewebservices.cpp +++ b/qt-ui/subsurfacewebservices.cpp @@ -648,6 +648,8 @@ void DivelogsDeWebServices::prepareDivesForUpload(bool selected) f.remove(); return; } + } else { + report_error("Failed to create upload file %s\n", qPrintable(filename)); } MainWindow::instance()->getNotificationWidget()->showNotification(get_error_string(), KMessageWidget::Error); } |