summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-09-23 12:16:45 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-09-23 12:16:45 -0700
commitc9f72e510a655fdca7c35be688d96f8c05659bc8 (patch)
treeb6205cfa7ed4d403beb4ae694e7aba65809fdf9f /qt-ui/mainwindow.cpp
parent48e47c904842c83e7693680c7cd38775072d42bb (diff)
downloadsubsurface-c9f72e510a655fdca7c35be688d96f8c05659bc8.tar.gz
Show progress bar when loading from cloud storage by default
It turns out that I forgot to make sure that the progress bar is shown if the user has things set up so that the cloud storage is the default dive file that they open. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r--qt-ui/mainwindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index eb02ae8c9..9feb8f684 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -1574,6 +1574,7 @@ void MainWindow::loadFiles(const QStringList fileNames)
QByteArray fileNamePtr;
QStringList failedParses;
+ showProgressBar();
for (int i = 0; i < fileNames.size(); ++i) {
int error;
@@ -1592,6 +1593,7 @@ void MainWindow::loadFiles(const QStringList fileNames)
failedParses.append(fileNames.at(i));
}
}
+ hideProgressBar();
if (!showWarning)
getNotificationWidget()->hideNotification();
process_dives(false, false);