summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2017-12-29 11:19:22 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-12-29 09:19:17 -0800
commitf74308bed40e2d463d8b4ed5e57dc56220b65bcc (patch)
tree592bd8bf1988aa053aee47be9520f89a757e6734
parent13305e77451ecae0d3d1803b85b4a27e7084dd7b (diff)
downloadsubsurface-f74308bed40e2d463d8b4ed5e57dc56220b65bcc.tar.gz
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 <bstoeger@mail.tuwien.ac.at>
-rw-r--r--desktop-widgets/mainwindow.cpp1
1 files changed, 0 insertions, 1 deletions
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();