From f74308bed40e2d463d8b4ed5e57dc56220b65bcc Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Fri, 29 Dec 2017 11:19:22 +0100 Subject: Desktop: Don't hide errors on opening cloud storage In MainWindow::on_actionCloudstorageopen_triggered(), getNotificationWidget()->hideNotification() was called, thus hiding any error message produced by the cloud code. Notably, the information "Cannot sync with cloud server, working with offline copy" was not shown. Therefore, remove this call. Note that on cloud save messages were not hidden. Signed-off-by: Berthold Stoeger --- desktop-widgets/mainwindow.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'desktop-widgets/mainwindow.cpp') diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp index 7e608427c..ddd0f7eb9 100644 --- a/desktop-widgets/mainwindow.cpp +++ b/desktop-widgets/mainwindow.cpp @@ -612,7 +612,6 @@ void MainWindow::on_actionCloudstorageopen_triggered() set_filename(fileNamePtr.data()); setTitle(); } - getNotificationWidget()->hideNotification(); process_dives(false, false); hideProgressBar(); refreshDisplay(); -- cgit v1.2.3-70-g09d2