summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/subsurfacewebservices.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-10-26 15:55:49 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-10-26 15:55:49 +0200
commite64dcd12bd0308d389c0dec6cf2d957e38b3d0f1 (patch)
tree034e933dc61b191a051a6110125bc1ef20869b10 /desktop-widgets/subsurfacewebservices.cpp
parent752d9b60c459c51fd5014d91a9e03c84a8f18f38 (diff)
downloadsubsurface-e64dcd12bd0308d389c0dec6cf2d957e38b3d0f1.tar.gz
desktop UI: no longer attempt to manually show error notifications
report_error() now does this automatically. So all these odd places in which we tried to make sure that we show errors are no longer needed. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/subsurfacewebservices.cpp')
-rw-r--r--desktop-widgets/subsurfacewebservices.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/desktop-widgets/subsurfacewebservices.cpp b/desktop-widgets/subsurfacewebservices.cpp
index 6c982d27f..86554cd8c 100644
--- a/desktop-widgets/subsurfacewebservices.cpp
+++ b/desktop-widgets/subsurfacewebservices.cpp
@@ -735,7 +735,6 @@ void DivelogsDeWebServices::prepareDivesForUpload(bool selected)
} else {
report_error("Failed to create upload file %s\n", qPrintable(filename));
}
- MainWindow::instance()->getNotificationWidget()->showNotification(get_error_string(), KMessageWidget::Error);
}
void DivelogsDeWebServices::uploadDives(QIODevice *dldContent)