mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
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>
This commit is contained in:
parent
ef774032ed
commit
3043114446
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue