From 3043114446e1af5eb05946fc495be06157610d20 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 28 Apr 2015 10:42:54 -0700 Subject: 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 --- qt-ui/subsurfacewebservices.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qt-ui') 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); } -- cgit v1.2.3-70-g09d2